Côture avec countoflongshares

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #211059 quote
    Lurubu
    Participant
    Senior

    Bonjour,

    je désire clôturer mes positions en fin de journées.

    Elles seront acheteuses ou(exclusif) vendeuses et ente un et quatre.

    J’ai écrit : if time>200000 then

    sell countoflongshares

    exitshort coontofshortshares

    endif

    Peut-on faire plus court avec Countofshares et doit-on spécifier “at market”

    Merci d’avance.

    #211060 quote
    phoentzs
    Participant
    Master

    Pour clôturer toutes les positions acheteuses ou vendeuses à 20h00:

    If Time >= 200000 then

    sell at market

    exitshort at market

    endif

    #211150 quote
    Lurubu
    Participant
    Senior

    OK.

    Merci

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

Côture avec countoflongshares


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
Lurubu @lurubu Participant
Summary

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

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 03/07/2023
Status: Active
Attachments: No files
Logo Logo
Loading...