Always on market

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #99929 quote
    AlgoAlex
    Participant
    Master

    Given two conditions, let call them BUY and SELL, is it possible to create a system always on market long or short?

    F.e. when the system starts, the firs signal is BUY, and it stays long on market until a SELL signal appears that close the long and open a short position etc.

    Is it possible in ProOrder?

    #99931 quote
    GraHal
    Participant
    Master

    Yes I’ve got a few like that … they are onmarket like 98.9% of the time!

    You need cumulateorders = False, well I do anyway as I always do.

    #99932 quote
    Vonasi
    Moderator
    Master

    Yes. Any time that you are long on the market a SELLSHORT order will close the long trade and open a short trade and any time that you are short on the market a BUY order will close the short trade and open a long trade.

    #99933 quote
    Nicolas
    Keymaster
    Master

    Yes and because hedging is not possible through a single ProOrder system, that how it operates: close the current order before sending the opposite one:

    A buy order will close the short one and vice-versa.

    #99937 quote
    AlgoAlex
    Participant
    Master

    So all I need is just define buy and sellshort conditions?

    #99938 quote
    GraHal
    Participant
    Master

    Yes and use cumulate = false unless you want multiple BUY orders OR multiple SELL Orders … which you might get depending on your conditions?/

    #99939 quote
    robertogozzi
    Moderator
    Master

    Yes.

    #99940 quote
    AlgoAlex
    Participant
    Master

    Yes and use cumulate = false unless you want multiple BUY orders OR multiple SELL Orders … which you might get depending on your conditions?/

    No sure I want the system to be long or short with a fixed size.

    It would be impossible to have multiple buys or sells open because my idea has an alternation of buy and sell.

    GraHal thanked this post
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.

Always on market


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
AlgoAlex @alexf Participant
Summary

This topic contains 7 replies,
has 5 voices, and was last updated by AlgoAlex
6 years, 9 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 06/04/2019
Status: Active
Attachments: No files
Logo Logo
Loading...