Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Easy way to get priceoffset after a rollover?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Easy way to get priceoffset after a rollover?

    Is there an easy way to get the actual priceoffset on a given bar(or time) after a rollover?

    I tried checking the RolloverCollection but the Rollover.Offset for a given contract seems to be insufficient. Then I tried to check RolloverCollection.GetOffsetSum method, but it always returns 0.
    Am I searching at the wrong place? Or how can I do it?

    #2
    Hi Zapzap, thanks for your question.

    RolloverCollection is not documented, so there is no telling how to use it properly or if it's set up properly for our use in NinjaScript. I'm not aware of any public property we can access to get the price offset so I will submit a feature request to our development team.

    Thanks in advance for your patience.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    44 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    58 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    35 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    95 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    59 views
    0 likes
    Last Post PaulMohn  
    Working...
    X