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 futtrader, 04-21-2024, 01:50 AM
        6 responses
        58 views
        0 likes
        Last Post futtrader  
        Started by sgordet, Today, 11:48 AM
        0 responses
        4 views
        0 likes
        Last Post sgordet
        by sgordet
         
        Started by Trader146, Today, 11:41 AM
        0 responses
        5 views
        0 likes
        Last Post Trader146  
        Started by jpapa, 04-23-2024, 07:22 AM
        2 responses
        19 views
        0 likes
        Last Post rene69851  
        Started by funk10101, Today, 11:35 AM
        0 responses
        3 views
        0 likes
        Last Post funk10101  
        Working...
        X