Cost trigger of a guaranteed stoploss

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #163480 quote
    Albaran
    Participant
    Average

    Hi there,

    It’s all in the title; when is the cost of a guaranteed stop loss triggered?

    Two cases come to mind:

    a) A stoploss yielding a loss

    b) a stoploss yielding a profit

    And with which command is it triggered? Whenever using the stop command or only when using below kind of command:

    Set stop loss x

    and not with below kind of command

    Sell at fulllongstop stop

    ?

    #163495 quote
    Nicolas
    Keymaster
    Master

    Both will be Guaranteed Stop. A pending stop order is a stoploss and a stoploss is a pending stop order 🙂

    robertogozzi and Albaran thanked this post
    #163496 quote
    Albaran
    Participant
    Average

    Okay thanks! It’s what I thought but I wanted to be sure of it 🙂

    #171121 quote
    Albaran
    Participant
    Average

    Does a QUIT command also count as a garantueed stop loss if you toggle the use of garantueed stop losses when you launch your system?

    #171513 quote
    XORANDNOT
    Participant
    Senior

    And with which command is it triggered? Whenever using the stop command or only when using below kind of command:

    Set stop loss x

    Sell at fulllongstop stop

    A bit carefulness is needed. “Sell at xx stop” only triggers a guaranteed stop, when this has been activated before by “set stop loss x”, because in this case all stops (whenever they are changed) for a position will be guaranteed.

    If you don’t use “set stop loss x” or similar commands at all in your code, all stop losses set by “sell at xx stop” will NOT be guaranteed !

    “Quit” only closes all currently open positions at market price and therefore does not execute any stop loss.

    Albaran thanked this post
    #176123 quote
    Albaran
    Participant
    Average

    Just to be sure, IG says that the cost of a guaranteed stop loss is +1pt if triggered.

    So to be all sure, it’s cost = 1pt. * number of contracts * (value of contract or value per point), right?

    And is it + 1pt. regardless of the underlying you’re trading in? I want to code the cost into the algorithm..

    (I couldn’t really find any other information other than the +1pt. on the IG website hence why I’m asking it here)

    #176124 quote
    Albaran
    Participant
    Average

    Also, is there a way to make use of the guaranteed stoploss with “DEFPARAM cumulateorders = True” ?

    PRT says you either have to change the above into false or make use of other types of stops..

    #176252 quote
    JS
    Participant
    Senior

    When set DefParam CumulateOrders to False it only prevent your system to execute more than one (1) trade in the same direction.

    #176288 quote
    Albaran
    Participant
    Average

    When set DefParam CumulateOrders to False it only prevent your system to execute more than one (1) trade in the same direction.

    Let me rephrase my question: “Is it possible to make use of a guaranteed stoploss of the type “$LOSS” with DefParam CumulateOrders = True ?”

    PRT says that the two of them are not compatible and according to @XORANDNOT, in order to to benefit from the guaranteed stoploss protection, you need to make use of the command “set stop loss x”.

    So my question is whether or not there’s a way to circumvent this incompatibility by coding it in a different way?

    #176297 quote
    JS
    Participant
    Senior

    I don’t think you can code it in a different way when PRT says that the combination of “DefParam CumulateOrders = True” and guaranteed stop loss orders are not compatible.

    #176302 quote
    GraHal
    Participant
    Master

    I would hazard a guess that hardly anyone on here uses Guaranteed Stops, hence why there are not many answers forthcoming?

    #176307 quote
    JS
    Participant
    Senior

    @GraHal: Maybe because it is a special case of CumulateOrders combined with Guaranteed Stops.

    I can imagine that there is a (IG) limit to the amount of contracts in combination with Guaranteed Stops or a limitation between (cumulated) margin and Guaranteed Stops…etc.

    #176443 quote
    XORANDNOT
    Participant
    Senior

    Let me rephrase my question: “Is it possible to make use of a guaranteed stoploss of the type “$LOSS” with DefParam CumulateOrders = True ?”

    PRT says that the two of them are not compatible and according to @XORANDNOT, in order to to benefit from the guaranteed stoploss protection, you need to make use of the command “set stop loss x”.

    So my question is whether or not there’s a way to circumvent this incompatibility by coding it in a different way?

    If you want to have an exact answer, try it out on a very short time scale (1 minute or 10 seconds) in your demo account. This is what demo is made for.

    #176471 quote
    GraHal
    Participant
    Master

    I was thinking the same, please let us know the results / outcome Albaran

    #179727 quote
    Albaran
    Participant
    Average

    @GraHal: it’s as @XORANDNOT says..

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

Cost trigger of a guaranteed stoploss


Platform Support: Charts, Data & Broker Setup

New Reply
Author
author-avatar
Albaran @albaran Participant
Summary

This topic contains 14 replies,
has 5 voices, and was last updated by Albaran
4 years, 3 months ago.

Topic Details
Forum: Platform Support: Charts, Data & Broker Setup
Language: English
Started: 03/08/2021
Status: Active
Attachments: No files
Logo Logo
Loading...