Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi account simultaneous trade strategy

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

    Multi account simultaneous trade strategy

    Hi
    I am in the process of writing the strategy for the above (not yet addon. that will come later)
    i have encountered strange situation where the command : " EnterLong(...) " does not even tries to execute.
    not getting any error either.

    to reproduce the issue , I have created 3 SIM accounts . SIM101 (standard) sim102 and sim103
    edit the strategy parameters with the accounts.
    run my strategy and push the BUY once, that will cause the sim102 and sim103 to buy 1 contract.
    than push the SELL once. that will cause the flat on both SIM accounts.
    After that, no matter what you push , the EnterLong nor the EnterShort commands in the strategy will not work.

    any ideas ? AccountsTRADE.cs

    #2
    Hello dadarara,

    You would need to write an addon if you wanted to trade multiple accounts at once, strategies and their methods/properties are only intended to trade on the account you select in their settings. The account class from the addon framework is not valid to be used in strategies, that would be for indicators or other custom tools.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    52 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 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
    48 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X