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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    134 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X