Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Net change display incorrect for futures

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

    Net change display incorrect for futures

    The net change display indicator and the net change MarketAnalyzer column do not report the correct net change for futures, as they use the previous day close price instead of the settlement price. The previous day close price is irrelevant for futures.

    The current approach still works well for CQG market data, since it populates the futures close price with the settlement price. For Rithmic market data, however, which correctly reports the two different prices, the net change value is (ironically) wrong since it is based on the previous day close price.

    The attached indicator has a quick fix for the net change display indicator. It just checks if the instrument is a futures contract and, if so, uses the settlement price instead of the close price.


    Attached Files
    Last edited by VolatyTrading; 11-04-2021, 07:07 PM.

    #2
    Hello VolatyTrading,

    Thanks for sharing.

    I recall we looked into Settlement vs. LastClose before, but I do not recall why we stuck with LastClose.

    I'm trying to did up some older internal tickets about it and I'm asking some colleagues as well.

    I should have some more information tomorrow to give further response and see if we can consider changes.

    EDIT: This runs a bit deeper as some providers give Settlement, some don't, some give a different result when requesting after hours and during hours. I'm going to try to spend some time as resources allow to map out differences and see if we can apply changes that work across the board.

    Thanks for your patience.
    Last edited by NinjaTrader_Jim; 11-05-2021, 12:27 PM.
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by WHICKED, Today, 12:45 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by samish18, Today, 01:01 PM
    0 responses
    5 views
    0 likes
    Last Post samish18  
    Started by WHICKED, Today, 12:56 PM
    0 responses
    8 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Started by Spiderbird, Today, 12:15 PM
    2 responses
    11 views
    0 likes
    Last Post Spiderbird  
    Started by FrazMann, Today, 11:21 AM
    2 responses
    8 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Working...
    X