• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Entry functions don't close opposites

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

    Entry functions don't close opposites

    Hi, thanks for your time.

    I have this problem, which, i didn't have a couple of days ago..

    https://ninjatrader.com/support/helpGuides/nt8/en-us/

    A few key points to keep in mind:
    • Entry() methods will reverse the position automatically. For example if you are in a 1 contract long position and now call EnterShort() -> you will see 2 executions, one to close the prior long position and the other to get you into the desired 1 contract short position.
    EnterShort and EnterLong used to close the opposite position if it was any. Now that doesn't happen (no idea why it changed), and output errors...

    Time Category Message
    27/04/2018 3:50:34 PM Order Sim101, Order 'f53824433e3d424f942635047a2d616e' can't be submitted: Not enough excess margin. affected Order: Buy 1 Market
    Time Category Message
    27/04/2018 3:50:35 PM Default Strategy 'Ruelle/135217249' submitted an order that generated the following error 'Unable to submit order'. Strategy has sent cancel requests, attempted to close the position and terminated itself.
    Hope you can help me, thanks.

    #2
    Hello Fernand0,

    Thanks for your post and welcome to the NinjaTrader forums.

    The first error message indicators that your sim101 account does not have sufficient margin to place the needed orders which resulted in the 2nd error message.

    We advise that you reset the Simulation account to resolve this item.

    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
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Paul View Post
      The first error message indicators that your sim101 account does not have sufficient margin to place the needed orders which resulted in the 2nd error message.
      I increased the amount of the account to 1m

      Originally posted by NinjaTrader_Paul View Post
      We advise that you reset the Simulation account to resolve this item.
      I did it before this thread, i did it again just in case, and then i did it several times.
      I even use the "Reload NinjaScript" and "Reload Alll Historical Data".

      It keeps happening
      Is there any option that could "compromise" this behaviour?

      Thanks for the fast reply Paul!

      Comment


        #4
        Hello Fernand0,

        Thanks for your reply.

        Please send an e-mail to PlatforumSupport[at]NinjaTrader.com mark the e-mail subject line atten:Paul and include a link to this thread. In addition please add your log and trace files to the e-mail:

        Open your NinjaTrader folder under My Documents.
        Right click on the 'log' and 'trace' folders and select Send To> Compressed (zipped) Folder.
        Send the 2 compressed folders as attachments to the email.
        Once complete, you can delete these compressed folders.
        Paul H.NinjaTrader Customer Service

        Comment


          #5
          Message not delivered
          There was a problem delivering your message to [email]/email]. See the technical details below, or try resending in a few minutes.
          ---------- Forwarded message ----------
          From: *********
          To:
          Cc:
          Bcc:
          Date: Mon, 30 Apr 2018 14:36:27 -0300
          Subject: atten:Paul
          https://ninjatrader.com/support/foru...d.php?t=109302

          Thanks for your time.
          hum? did something wrong?

          BTW.: it seems that if you don't have the double of your Intraday Margin, it just send the errors.. then i had to change the "Bars required to trade" to 1... because sometimes in the middle of nowhere that error happens
          But i can't execute a strategy with $900 on an Instruments that requires $500 on Intraday Margin..
          Last edited by NinjaTrader_RyanM; 04-30-2018, 11:54 AM.

          Comment


            #6
            Hello Fernand0,

            Thanks for your reply.

            I had a typo in our e-mail address. (Platforum instead of Platform) If you are still in need of assistance, please send your files to PlatformSupport[at]NinjaTrader[dot]com.

            We specify [at] and [dot] to prevent the "bots" from scraping e-mail addresses from the forum posts and even though it was an incorrect address we still removed the e-mail address you copy/pasted.
            Paul H.NinjaTrader Customer Service

            Comment


              #7
              Originally posted by NinjaTrader_Paul View Post
              Hello Fernand0,

              Thanks for your reply.

              I had a typo in our e-mail address. (Platforum instead of Platform) If you are still in need of assistance, please send your files to PlatformSupport[at]NinjaTrader[dot]com.

              We specify [at] and [dot] to prevent the "bots" from scraping e-mail addresses from the forum posts and even though it was an incorrect address we still removed the e-mail address you copy/pasted.
              Oh, thanks, i forgot about removing emails.
              Yes, i will send you the data because otherwise i would have to start with a deposit bigger than $1k just because for technical problem :/

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Ilpropio, Today, 09:45 PM
              0 responses
              2 views
              0 likes
              Last Post Ilpropio  
              Started by Revan, Today, 05:44 PM
              1 response
              13 views
              0 likes
              Last Post NinjaTrader_Marco  
              Started by superg3, Today, 07:57 PM
              0 responses
              3 views
              0 likes
              Last Post superg3
              by superg3
               
              Started by Longhornmark, Today, 07:06 AM
              5 responses
              35 views
              0 likes
              Last Post nkhoi
              by nkhoi
               
              Started by bomberone3, Today, 02:59 PM
              1 response
              4 views
              0 likes
              Last Post NinjaTrader_ChrisL  
              Working...
              X