Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trading with strategy and manual orders

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

    Trading with strategy and manual orders

    Can I trade having both the strategy automated and manually be able to send orders via the Chart Trader panel? If so which option should I have on the Strategy Syncing behavior shown here on Strategy Position vs. Account Position or does it matter?



    Thank you.

    #2
    Hello designer01,

    Thanks for your post.

    NinjaScript strategies are intended to be fully automated strategies that run without any manual intervention. NinjaScript strategies are only able to read the orders placed by that specific instance of the strategy and cannot read orders that are manually placed outside of the strategy.

    The Start Behavior would only sync the strategy during the initial enablement of the strategy. The position for the account and the position for the strategy are separate positions. The position of a strategy will be out of sync with the position of an account if you place manual orders on the same instrument and same account that a strategy is running on. This is because strategies cannot read manually placed orders.

    For example, if the strategy places an order putting you in a position of 1 Long and you manually place an order of 1 Long, the strategy position would be 1 Long and the account position would be 2 Long since the strategy cannot read the manually placed order. Since the strategy position is 1 Long and the account position is 2 Long, the strategy position would be out of sync with the account position.

    See the help guide documentation below for more information.
    Strategy vs. Account Position — https://ninjatrader.com/support/help..._account_p.htm
    Start Behaviors — https://ninjatrader.com/support/help..._positions.htm

    Let us know if we may assist further.

    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      Is there a way to see (by looking at some log or report) whether a trade was placed manually or by a strategy?

      Comment


        #4
        Hello,

        If you go to New>Trade Performance and generate a report, if you switch the display mode in the top left to 'trades' you'll be able to see a column for 'strategy' which will indicate which strategy the order was placed with, or the field will be blank for manual entries/exits.
        Ryan S.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by andrewtrades, Today, 04:57 PM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by chbruno, Today, 04:10 PM
        0 responses
        6 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Started by josh18955, 03-25-2023, 11:16 AM
        6 responses
        436 views
        0 likes
        Last Post Delerium  
        Started by FAQtrader, Today, 03:35 PM
        0 responses
        7 views
        0 likes
        Last Post FAQtrader  
        Started by rocketman7, Today, 09:41 AM
        5 responses
        19 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X