• 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

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 aslane, Today, 02:31 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_Kate  
        Started by stoner, 10-16-2019, 01:38 PM
        5 responses
        51 views
        0 likes
        Last Post sledge
        by sledge
         
        Started by music_p13, Today, 12:04 PM
        1 response
        24 views
        0 likes
        Last Post NinjaTrader_Kate  
        Started by zaro33, Today, 10:55 AM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_Heath  
        Started by itrader46, Today, 10:16 AM
        5 responses
        11 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X