Trade nur wenn Spread "leistbar"

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #71387 quote
    immo_vienna
    Participant
    Average

    Hallo Leute!

    Habe bereits im Forum gesucht aber leider (noch) nichts gefunden:

    Möchte gerne ein System erstellen, dass nur dann eine Order aufgibt, wenn der (potentielle) Gewinn größer ist als der Spread.
    Hatte mal jemand eine Idee dahinter?

     

    Liebe Grüße aus Wien,

    Matthias

    #71466 quote
    Nicolas
    Keymaster
    Master

    Es ist nicht möglich, den Spread-Wert mit dem Code zu erhalten. Aber Sie können natürlich eine Variable erstellen, um sie in Ihren Code zu setzen und Ihren Zielgewinn mit dieser Variable festzulegen:

    spread = 2
    
    if buycondition then 
     buy at market 
    endif
    
    set target pprofit spread
    immo_vienna thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Trade nur wenn Spread "leistbar"


ProOrder: Automatischer Handel & Backtesting

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Nicolas
7 years, 8 months ago.

Topic Details
Forum: ProOrder: Automatischer Handel & Backtesting
Language: German
Started: 05/26/2018
Status: Active
Attachments: No files
Logo Logo
Loading...