Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trading manually on same contract as the strategy

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

    Trading manually on same contract as the strategy

    What happens if a running strategy on the same futures contract has open position and you place an order that goes against it manually?

    Respectively, what happens if your manual trade has open position and strategy kicks in and places orders opposite direction?

    #2
    Hello jiminssy,

    Thanks for your post.

    In both cases your account position would be made flat and in both cases your strategy would be in a strategy (virtual) position. In both cases when the strategy closes its strategy (virtual) position it would be placing live orders and if your account position is flat it would put you into an account position. The process is now one of the strategy being out of sync with your account.

    Said another way, your strategy is unaware of any other activity and will place orders according to its strategy code.

    An important concept to understand prior to using NinjaScript strategies in a real-time trading environment (live brokerage account, for example) is the difference between a Strategy Position and an Account Position. To further clarify, please review: http://ninjatrader.com/support/helpG..._account_p.htm

    If you wish to trade the same instrument as the strategy this would best be done by using another account. Your strategy would be operating on one account and be in sync with it and your manual trades in another account would not effect the account positions of the strategy. You can test this by using two sim accounts, one for your strategy and one for your manual trades.
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    148 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    5 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    33 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Started by tkaboris, Today, 05:13 PM
    0 responses
    5 views
    0 likes
    Last Post tkaboris  
    Started by GussJ, 03-04-2020, 03:11 PM
    16 responses
    3,283 views
    0 likes
    Last Post Leafcutter  
    Working...
    X