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 bmartz, 03-12-2024, 06:12 AM
        5 responses
        32 views
        0 likes
        Last Post NinjaTrader_Zachary  
        Started by Aviram Y, Today, 05:29 AM
        4 responses
        12 views
        0 likes
        Last Post Aviram Y  
        Started by algospoke, 04-17-2024, 06:40 PM
        3 responses
        28 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by gentlebenthebear, Today, 01:30 AM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by cls71, Today, 04:45 AM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X