Skip to content

Commit

Permalink
Improved README.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbywater committed Oct 4, 2017
1 parent 3225c15 commit bafc1a4
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ assert results.fair_value.std() == 0.0
```

If a `Market` element is included within a `Fixing` element, the value of the expression will be the price
that can be expected to be agreed at the date provided by the `Fixing` element.
that could be agreed at the date provided by the `Fixing` element, as expected at the effective present time.

With Brownian motion provided by the price process, the random variable used to estimate a price that could be
agreed in the future has a statistical distribution with non-zero standard deviation. The mean value of the
Expand Down Expand Up @@ -506,6 +506,20 @@ simple expressions involving the call args, and must not involve any Quant DSL s
as `Market`, `Choice`, `Wait`, `Settlement`, `Fixing`. Calls to function definitions from test expressions in `if`
statements is supported, but the function definitions must not contain any of the stochastic elements.

### Other args of calc()

The deltas can be obtained by setting the `periodisation` arg of `calc()`.

You can adjust the `perturbation_factor` used to calculated deltas. If the `path_count` is larger, a smaller
perturbation factor may give better results.

You can adjust the limit on the maximum number of nodes the can be compiled from Quant DSL source with the `
`max_dependency_graph_size` arg of `calc()`.

You can set a calculation to `timeout` after a given number of seconds.

Custom DSL classes can be passed in using the `dsl_classes` argument of `calc()`.

## Examples

### Derivative options
Expand Down

0 comments on commit bafc1a4

Please sign in to comment.