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 fgs092790, Today, 05:39 AM
    3 responses
    12 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by burtoninlondon, Today, 09:43 AM
    0 responses
    1 view
    0 likes
    Last Post burtoninlondon  
    Started by gyilaoliver, Today, 09:18 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by Gibranes, 10-02-2024, 10:05 AM
    13 responses
    44 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by RubenCazorla, Today, 08:46 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X