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 judysamnt7, 03-13-2023, 09:11 AM
    4 responses
    59 views
    0 likes
    Last Post DynamicTest  
    Started by ScottWalsh, Today, 06:52 PM
    4 responses
    36 views
    0 likes
    Last Post ScottWalsh  
    Started by olisav57, Today, 07:39 PM
    0 responses
    7 views
    0 likes
    Last Post olisav57  
    Started by trilliantrader, Today, 03:01 PM
    2 responses
    22 views
    0 likes
    Last Post helpwanted  
    Started by cre8able, Today, 07:24 PM
    0 responses
    10 views
    0 likes
    Last Post cre8able  
    Working...
    X