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 GLFX005, Today, 03:23 AM
    0 responses
    1 view
    0 likes
    Last Post GLFX005
    by GLFX005
     
    Started by XXtrader, Yesterday, 11:30 PM
    2 responses
    11 views
    0 likes
    Last Post XXtrader  
    Started by Waxavi, Today, 02:10 AM
    0 responses
    6 views
    0 likes
    Last Post Waxavi
    by Waxavi
     
    Started by TradeForge, Today, 02:09 AM
    0 responses
    13 views
    0 likes
    Last Post TradeForge  
    Started by Waxavi, Today, 02:00 AM
    0 responses
    3 views
    0 likes
    Last Post Waxavi
    by Waxavi
     
    Working...
    X