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 MacDad, 02-25-2024, 11:48 PM
        7 responses
        158 views
        0 likes
        Last Post loganjarosz123  
        Started by Belfortbucks, Today, 09:29 PM
        0 responses
        7 views
        0 likes
        Last Post Belfortbucks  
        Started by zstheorist, Today, 07:52 PM
        0 responses
        7 views
        0 likes
        Last Post zstheorist  
        Started by pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        151 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Started by mattbsea, Today, 05:44 PM
        0 responses
        6 views
        0 likes
        Last Post mattbsea  
        Working...
        X