Login Page - Create Account

Support Board


Date/Time: Sun, 06 Jul 2025 14:30:08 +0000



[User Discussion] - ascil: how to get underlying contract name for a continuous futures trade

View Count: 779

[2019-06-05 05:18:00]
uM8137 - Posts: 183
For cross-referencing, when using continuous futures contracts, is it possible to get the underlying contract that an order filled with? (in a backtest, from within ASCIL DLL code). For example, though all /CL trades might be labelled with CLN19 (the front month at the time of this writing) for the purposes of reporting in the trade activity log, within the DLL code I would like to learn which trades were actually filed against which of CLM19, CLK19, CLJ19, CLH19... historically. Is there a way to get the actual contract symbols for the backtest orders? Or a way to learn the crossover timepoints used so that I can figure it out from the date of the trade? Thanks a ton!
[2019-06-06 21:41:58]
uM8137 - Posts: 183
Oddly, I see this was marked User discussion. This is incorrect. It is a question about whether the SierraChart program provides the details (specifically the actual contract symbol) of the orders placed by a custom study.

Or, if the crossover points for a contract roll are available to an ASCIL study.

Thanks for your assistance in understanding the program. The actual contract traded is such a natural thing to need that I am very surprised that I cannot find any documentation of how to acquire it in SC.
Date Time Of Last Edit: 2019-06-06 21:44:27

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account