Stoppare una strategia lasciando l’ordine eseguito

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #215635 quote
    FlavioFlavio
    Participant
    New

    Buon giorno a tutti, volevo sapere se esiste un comando da inserire nel codice per stoppare una strategia appena un ordine long o short è stato eseguito, lasciando l’ordine attivo per poter modificare stoploss e profit manualmente.

    Grazie

    #215636 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Hai due alternative:

    • puoi eseguire l’istruzione QUIT, che fa terminare la strategia, però devi abilitare l’opzione di lasciare aperte le operazioni in corso in caso d’interruzione, altrimenti vengono chiuse
    • dalla piattaforma manuale di IG modifichi l’operazione manualmente, ad esempio uno Stop Loss o Target (che poi potrai rimettere com’erano) questo interrompe la strategia lasciando aperte le operazioni che a quel punto diventano operazioni manuali (che non vedrai sul grafico perché esterne alla piattaforma)
    #215641 quote
    FlavioFlavio
    Participant
    New

    Grazie Roberto, istruzione inserita, ora testo il tutto

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

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Stoppare una strategia lasciando l’ordine eseguito


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
Flavio @ruoston Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by FlavioFlavio
3 years, 3 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 06/04/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...