Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Synching NTMarketPosition and positions

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

    Synching NTMarketPosition and positions

    In my testing I had orders filled in IB's paper trading account via the ATI. NTMarketPosition gave me back the correct number of shares in each position. I then used the flatteneveryting menu option in the NT Control Center to close all the positions so I could continue my testing. All the positions closed, but NTMarketPosition still returns the old values, not zero. Is there a way to refresh the values for NTMarketPosition so they once again reflect actual positions held? I can also see this as an issue if I need to close a position manually rather then with the ATI and then want the ATI to take back over for that stock.

    #2
    imported post

    Can you reproduce this each time?
    RayNinjaTrader Customer Service

    Comment


      #3
      imported post

      No, I added positions and then flattened them and thepositions are showing up correctly now. However, this morning thepositions I heldovernight (they could be seen in IB and NT) were showing up as zero despite placing orders in that account this morning. To remedy this I flattened all positions to start fresh (this is in an IB paper account). That obviously will not be an attractive option for real trading.

      Comment


        #4
        imported post

        This is the case again this morning. I held positions overnight and they show as flat with NTMarketPosition() even after placing and cancelling and order in that account.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        65 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        41 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        23 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        26 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        52 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X