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 usazencort, Today, 01:16 AM
    0 responses
    1 view
    0 likes
    Last Post usazencort  
    Started by kaywai, 09-01-2023, 08:44 PM
    5 responses
    602 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by xiinteractive, 04-09-2024, 08:08 AM
    6 responses
    22 views
    0 likes
    Last Post xiinteractive  
    Started by Pattontje, Yesterday, 02:10 PM
    2 responses
    20 views
    0 likes
    Last Post Pattontje  
    Started by flybuzz, 04-21-2024, 04:07 PM
    17 responses
    230 views
    0 likes
    Last Post TradingLoss  
    Working...
    X