Compute win rate
1 2 |
strategy.signal |
trade signal components of 0,-1,1 which stardends 'hold','sell','buy'. |
trade.value |
Vector of a numeric series which represents the total value generated by a trade strategy. |
type |
Must be one of 'buy' or 'sell'. |
weight.s |
Stocks holded at begining in the short position. |
stockp.begin |
the first one of the correspond stock price |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.