Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

which value should StartBehavior be set if only unmanaged orders are generated?

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

    which value should StartBehavior be set if only unmanaged orders are generated?

    Which value should StartBehavior be set if IsUnmanaged is set to true? I am not using strategy to do any backtesting or simulated trading on historical bars. Therefore my strategy only starts to trade in realtime by calling SubmitOrderUnmanaged(). Also I would already make sure no position or order in my account when the strategy starts to trade. (If not, I wish they could be synchronized so that my strategy make close them before starting to trade.) In such case, which StartBehavior value should I set?

    Thanks,
    Clearpicks

    #2
    Hello,

    Thank you for the post.

    While I cant suggest a specific start behavior to use, I can suggest reviewing the different options you have available to fully understand them.



    The strategy will perform according to the start behavior selected, your logic would be the other factor that decides how the strategy ultimately starts. Most commonly you will need to review your existing logic in contrast to the start behavior page to ensure your logic can work with the behavior selected.

    Wait until flat, synchronize account can be used to prevent the script from trading until it is synchronized with the account. This allows the strategy to process over the charts historical data until it reaches realtime. If the account position is flat to match the strategy, it will start. If the account is flat and the strategy places a trade which becomes a Historical position, the strategy would wait until its logic closes that position and then it will start in realtime once flat.

    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    54 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    131 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    73 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    44 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X