Description Usage Arguments Value Examples
maxdrawdown
returns a list with two elements (value ,loc ), which represents
value of max draw down and its location.
1 | maxdrawdown(trade.value)
|
trade.value |
Vector of a numeric series which represents the total value generated by a trade strategy. |
a list with two elements of 'value' and 'loc'.
1 2 | data(sh600000)
maxdd <- maxdrawdown(sh600000$close/10000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.