Combine multiple futures market data into continuous contract
1 | roll_futures(prices_by_contract, days_before_expiry)
|
prices_by_contract |
list of data.tables with futures market data |
days_before_expiry |
number of dates before expiration to roll |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.