Constante jour de la semaine

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

    Bonjour,

    J’ai un screener qui me retourne des Instruments. Jusque là ça  va.
    Par contre, comme il scanne les marchées européens et Us, il me retourne des actions alors que le marché n’est pas encore ouvert (marché US) mais qui répondent aux critères le jour précédent.
    J’avais comme  idée de comparer le résultat de la Constante CurrentDayOfWeek avec une constante journalière qui retourne le jour de la semaine tout simplement.
    Si CurrentDayOfWeek[0]==Ma Constante journalière alors le marché est ouvert.
    Mais je n’ai pas trouvé de telle constante. Existe t’elle ? Ou auriez-vous un morceau de code qui s’y substituerait ?

    Merci par avance.

    Marc

    #224046 quote
    Player
    Participant
    Average

    J’ai trouvé  :

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

Constante jour de la semaine


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
Player @player Participant
Summary

This topic contains 1 reply,
has 1 voice, and was last updated by Player
2 years, 3 months ago.

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 11/20/2023
Status: Active
Attachments: No files
Logo Logo
Loading...