Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unwanted Position Reversal on Exit with Market Order (IB Papertrading)

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

    Unwanted Position Reversal on Exit with Market Order (IB Papertrading)

    Hi!

    I am currently testing a strategy on 50 Stocks from the Nasdaq 100 Index, with a default position size of 1,000. Exit is via a time-stop, i.e. I send a simple market order to close the whole Position at once.

    STRANGELY, this is what happened today:
    - I had an open long position in one stock of 1000 shares in an IB-Papertrading account, then the timestop was activated
    - NT sent a market order for 1000 shares routed via IB-SMART
    - NT then sent another market order for 100 shares via ISLAND
    - Resulting net-short position of 100 shares

    Any ideas as to why that happens and how I can prevent it, especially if I want to leave Papertrading and go for real?

    Thanks and best regards!

    #2
    Is this in a NinjaScript strategy?

    We do not support the IB Paper-Trading account due to inconsistent behaviour. I suggest running your tests using the NT Sim101 account.
    RayNinjaTrader Customer Service

    Comment


      #3
      Yes, this is a simple Ninjascript strategy.

      OK - my intention in using the IB Papertrading account was to test how NT and IB work together before I trade my real account.

      Does that mean that these false positions should never occur in real trading?
      In what way, technically speaking, does the IB Papertrading account behave inconsistently?

      Many thanks
      Martin
      Last edited by EvolveK; 09-27-2007, 01:35 PM. Reason: Add comment

      Comment


        #4
        >> In what way, technically speaking, does the IB Papertrading account behave inconsistently?
        There are issues where TWS does behave different than regular demo or live account.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Shansen, 08-30-2019, 10:18 PM
        24 responses
        939 views
        0 likes
        Last Post spwizard  
        Started by Max238, Today, 01:28 AM
        0 responses
        7 views
        0 likes
        Last Post Max238
        by Max238
         
        Started by rocketman7, Today, 01:00 AM
        0 responses
        4 views
        0 likes
        Last Post rocketman7  
        Started by wzgy0920, 04-20-2024, 06:09 PM
        2 responses
        28 views
        0 likes
        Last Post wzgy0920  
        Started by wzgy0920, 02-22-2024, 01:11 AM
        5 responses
        33 views
        0 likes
        Last Post wzgy0920  
        Working...
        X