Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATM: script generated exit

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

    ATM: script generated exit

    Hello,

    I have a question concerning next possibility:

    Is it possible to generate an ExitLong() from a strategy script for an order which was generated on super DOM?

    I want to generate orders from SuperDOM, but I want to have automated exit.
    Last edited by SymeBB; 12-02-2011, 06:28 AM. Reason: gramatical mistake

    #2
    Hello,

    Thanks for the note.

    ExitLong() wont exit a position unless the strategy has a strategy position that is long.Therefor you would need to fake a long position in historical (So it doesnt submit the long order live). This would require starting the strategy up and having a strategy for the longs with ExitLong and having a strategy for the shorts with ExitShort.

    Another option is to use the unmanaged approach and some unsupported code to achieve this if you wanted it done a little more elegantly.



    Let me know if I can be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Graci117, Today, 11:40 PM
    0 responses
    5 views
    0 likes
    Last Post Graci117  
    Started by BIOK.NT, Today, 01:56 PM
    2 responses
    11 views
    0 likes
    Last Post BIOK.NT
    by BIOK.NT
     
    Started by i2ogu3, Today, 11:31 PM
    0 responses
    4 views
    0 likes
    Last Post i2ogu3
    by i2ogu3
     
    Started by RDTrader16, Today, 10:19 PM
    0 responses
    10 views
    0 likes
    Last Post RDTrader16  
    Started by gemify, 03-08-2023, 08:02 AM
    9 responses
    150 views
    0 likes
    Last Post culpepper  
    Working...
    X