Compute information ratio.
1 | info_rate(stock.price, cash.begin, trade.value, trade.days)
|
stock.price |
Vector of a stock price series, time level could be 1day, 1hour or 1min. |
cash.begin |
Cash used at begining of a trade. |
trade.value |
Vector of a numeric series which represents the total value generated by a trade strategy. |
trade.days |
Time span of day. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.