Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

P^roblem with strategy in FDAX sending orders to Mini Dax FDXM

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

    P^roblem with strategy in FDAX sending orders to Mini Dax FDXM

    HI,

    I'm having problem with an strategy.
    I'm running the strategy at FDAX (continuous ##-##) and I want to send the order to the mini Dax:

    EnterLong(actIndex,volumen,"mdl");

    But the orders are not sent. I don't read anything wrong at the log.

    If I change the "actIndex" Dataseries to, i.e., FGBL, the order is sent properly.

    Could you please give me a tip about it?

    Thanks!

    #2
    Hello nostrasladamus,

    Thank you for your post.

    I don't see anything amiss with your EnterLong() there. How are you adding the data series? Any further code example you could give would be helpful.

    Thanks in advance; I look forward to assisting you further.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      Thanks,

      This is what I have:

      else if (State == State.Configure){
      AddDataSeries(BarsPeriodType.Tick,1); //
      AddDataSeries("FDXM 03-20");
      actIndex=2;} // - number of the FDXM index
      }

      Comment


        #4
        Hello nostrasladamus,

        Thank you for your reply.

        Who is your data provider? I know that at least for Interactive Brokers connections it is not possible to access both the FDAX and FDXM at the same time as they use the same symbol mapping, just with different multipliers.

        Thanks in advance; I look forward to assisting you further.
        Kate W.NinjaTrader Customer Service

        Comment


          #5
          It's Kinetick

          Comment


            #6
            Hello nostrasladamus,

            Thank you for your reply.

            Kinetick shouldn't have that issue, we're able to access both via Kinetick here.

            I'd like to take a look at your strategy and test on my end if I may. You can export the strategy from Tools > Export > NinjaScript Add On. If you're uncomfortable posting it publicly here, you can also email the resulting .Zip file to platformsupport [at] ninjatrader [dot] com. If you send it that way, please include "2413722 ATTN Kate W." in the subject line and a link to this post in the body of the email.

            Thanks in advance; I look forward to assisting you further.
            Last edited by NinjaTrader_Kate; 02-07-2020, 08:24 AM.
            Kate W.NinjaTrader Customer Service

            Comment


              #7
              Ok, so in principle doesn't look to be an error there

              I'll try to swithc off the computer, reload ticks and start it again, because I think it worked in the past, but I'm not sure if with this same configuration

              Thanks!

              Comment


                #8
                Hi,

                I've been testing it live.

                One issue is, that the strategy is running under FDAX ##-##, so, the connection must be from Kinetick, and not from Continuum.

                Today it was working, but I changed something and then the orders to the FDXM were not sent.

                The log file doesn't show anything.
                The "strategies" window shos that the strategy running under "FDAX ##-##" is not syncronized ("False").

                What could it be?

                Can you please cofirm me, if first I should connect the kinetick and second the continuum?

                Thanks!

                Comment


                  #9
                  Hello nostraladamus,

                  Thank you for your reply.

                  If you're not getting the data, it wouldn't sync.

                  You would want to connect to Kinetick first for your data to come from that connection.

                  Thanks in advance; I look forward to assisting you further.
                  Kate W.NinjaTrader Customer Service

                  Comment


                    #10
                    Thanks,

                    I started with Kinetick, and then with Continuum, but the strategy still shows not Sync....

                    Comment


                      #11
                      Hello nostraladamus,

                      Thank you for your reply.

                      I would need to test on my end.

                      You can export the strategy from Tools > Export > NinjaScript Add On. If you're uncomfortable posting it publicly here, you can also email the resulting .Zip file to platformsupport [at] ninjatrader [dot] com. If you send it that way, please include "2413722 ATTN Kate W." in the subject line and a link to this post in the body of the email.

                      Thanks in advance; I look forward to assisting you further.
                      Kate W.NinjaTrader Customer Service

                      Comment


                        #12
                        Hi,

                        I've tried with a simple program (strategy), and it does work: the strategy runs at FDAX ##-## and sends the orders to FDXM, and it works.
                        At the strategy panel, it appears "True" under "Sync", and a red flag.

                        I thing it has to do with some "lost" position in the sim account.., either there was a position generated under continuum, wich remained when I connected under kineckt, or something similar.
                        The strategy remembered this position and therefore it marked it as not syncronized....

                        I hope I'll solve it.

                        Thanks fopr your help!

                        Comment


                          #13
                          Hello nostrasladamus,

                          Thank you for your reply.

                          If a "stuck" order is causing the issue in the Sim account, you will need to reset the sim account to clear it.

                          Resetting a simulation account will clear all historical trade data from this account. Please follow the instructions below to reset a simulation account.
                          • From the NinjaTrader Control Center window select the Accounts tab
                          • Right click on your simulation account and select 'Edit Account'
                          • Press the "Reset" button
                          Please let us know if we may be of further assistance.
                          Kate W.NinjaTrader Customer Service

                          Comment


                            #14
                            It sounds very good!

                            I'll keep you informed about the progress!
                            thanks!

                            Comment


                              #15
                              Hi,

                              Ok, My programm must be wrong somewhere sending the order.

                              Thanks a lot!

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by junkone, Today, 11:37 AM
                              2 responses
                              14 views
                              0 likes
                              Last Post junkone
                              by junkone
                               
                              Started by frankthearm, Yesterday, 09:08 AM
                              12 responses
                              43 views
                              0 likes
                              Last Post NinjaTrader_Clayton  
                              Started by quantismo, 04-17-2024, 05:13 PM
                              5 responses
                              35 views
                              0 likes
                              Last Post NinjaTrader_Gaby  
                              Started by proptrade13, Today, 11:06 AM
                              1 response
                              7 views
                              0 likes
                              Last Post NinjaTrader_Clayton  
                              Started by love2code2trade, 04-17-2024, 01:45 PM
                              4 responses
                              35 views
                              0 likes
                              Last Post love2code2trade  
                              Working...
                              X