Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trading RB

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

    Trading RB

    I have a strategy running on RB (Unleaded gas).

    The strategy is running on RB 12-12 but is placing orders on RB 11-12.

    Is this a mapping issue in which Ninja is trying to address the fact that the DEC energy contracts expire in NOV?

    Do i need to set it to RB 01-13 to get trades in the DEC contract and if so what data is being read? The DEC contract or the JAN contract?


    regards,
    Kevin

    #2
    Hi Kevin, you execute with IB here connected to NT?

    Correct, there's a special mapping in place here to account for nominal vs expiry month naming differences.

    To use IB's Dec contract, work on the NT 01-13 one - the data would be taken then from this contract as well (provided DoNotMerge is used as merge policy setting).

    Comment


      #3
      Thanks for the clarification.

      If I am trading IB, and pulling data from IB then what is ninja reading as a dec 12 contract?

      Ie I ask for dec 12 in ninja, I get nov 12 data from IB as if I asked for nov 12 in the TWS?

      Comment


        #4
        Your understanding is correct, we map for IB to the prior month - cause they name the contracts after the month in which they expire.

        Comment


          #5
          Ok, here's the problem, I have RB 12-12 up on ninja and it is displaying the same data as the RB Dec contract on IB TWS. So the strategy will take a signal from that data set and then fire an order into the previous months contract (in this case, NOV).

          So, unless I'm mistaken, it is reading dec data and trading nov.

          Comment


            #6
            Which rollover policy setting are you working with on NT?

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            68 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            38 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            63 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            62 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            53 views
            0 likes
            Last Post CarlTrading  
            Working...
            X