Does the API allow access to futures rollover code?

Questions about MultiCharts .NET and user contributed studies.
MidKnight
Posts: 343
Joined: 12 Aug 2012
Has thanked: 123 times
Been thanked: 56 times

Does the API allow access to futures rollover code?

Postby MidKnight » 08 Dec 2014

Hi there,

I'm conducting futures rollover studies across a variety of futures and need to determine if the current trading day is the last day of the contract. Because MC.net has code to calculate a variety of rollover rules through the custom instrument creation - I'm hoping to leverage that code.

Is this available? I see nothing in the help about it......

With kind regards,
MK

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Does the API allow access to futures rollover code?

Postby Henry MultiСharts » 09 Dec 2014

Hello MidKnight,

The custom futures Symbol Code is usually stored in the custom futures instrument description.

MidKnight
Posts: 343
Joined: 12 Aug 2012
Has thanked: 123 times
Been thanked: 56 times

Re: Does the API allow access to futures rollover code?

Postby MidKnight » 09 Dec 2014

MC.net has written code to calculate which date are rollover dates - I want access to that code via the API.

I'm asking if there is anything in the API that allows me to detect when the rollover date is for a specific custom futures symbol. In my system code, I want to test a variety of ideas centered associated with rollover operations.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Does the API allow access to futures rollover code?

Postby Henry MultiСharts » 10 Dec 2014

MidKnight,

At the moment there is no way to access this information from the code.


Return to “MultiCharts .NET”