ligne de programme pour vendre la moitié des position à X points

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #241000 quote
    lorenzo21000
    Participant
    New

    Bonjour à tous, je souhaiterais intégrer dans mon programme ajouter une ligne pour vendre la moitié des positions (exemple é contrats sur 4).a X points. Pourriez -vous me dire comment faire SVP.

    Bonne soirée.

    Lorenzo

    #241021 quote
    Iván González
    Moderator
    Master

    Bonjour. Vous pouvez utiliser l'expression suivante :

    if yourconditions then
    sell 0.5*COUNTOFLONGSHARES contract at market
    endif
    lorenzo21000 thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

ligne de programme pour vendre la moitié des position à X points


ProOrder : Trading Automatique & Backtests

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Iván González
1 year, 3 months ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 12/02/2024
Status: Active
Attachments: No files
Logo Logo
Loading...