Hello,
is there any chance to access the symbol mapping of a custom future through code?
I'm asking for it because i'm using a lot of custom futures to build continuos contracts so i do not have to care for the different rollover dates. That really works fine but sometimes i forget to map the corresponding broker symbol when a rollover takes place.
In order to prevent me of this mistake i would like to automatically check if the mapped broker symbol is still valid or expired.
Thanks in advance and kind regards,
Fabian
Accessing symbol mapping of custom future through code
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Accessing symbol mapping of custom future through code
Hello Fabian,
There is no access to symbol mapping from the code. You can get symbol's expiration date using IInstrumentSettings.Expiration Property.
There is no access to symbol mapping from the code. You can get symbol's expiration date using IInstrumentSettings.Expiration Property.