Vocabulaire programmation: comment on désigne le capital ?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #89616 quote
    Mike571
    Participant
    Junior

    Bonsoir

    J’aimerais savoir comment on désigne le capital dans le language proréaltime ? Exemple : Cash, portefeuille etc…

    Je veux faire une condition pour arrêter le robot si mon capital passe en-dessous d’une certaine somme. Exemple :

    IF ………….. <= 7500 THEN

    QUIT

    ENDIF

    J’aimerais aussi savoir où placer cette condition. En début ou fin de programme ? ou peut être que cela à peu d’importance..

    Merci par avance.

     

    Mike.

    #89617 quote
    Nicolas
    Keymaster
    Master

    Il n’est pas possible de connaître le capital de son compte de trading par le code. Par contre on dispose du PnL (Profit and Loss) réalisé (ordres fermés), de la stratégie en cours, avec l’instruction STRATEGYPROFIT.

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

Vocabulaire programmation: comment on désigne le capital ?


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
Mike571 @mike571 Participant
Summary

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

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 01/25/2019
Status: Active
Attachments: No files
Logo Logo
Loading...