How to skip certain days in ProBacktest (ie. Chrismas, Easter, etc.)

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #96824 quote
    Sascha
    Participant
    Average

    Hi,

    Is it possible to code that my system should not place any trades on certain days like Christmas (24.12.)?

    Thanks.

    Sascha

    #96879 quote
    Nicolas
    Keymaster
    Master

    Sure, use DAY and MONTH instructions and build a condition with them:

    xmas = day=24 and month=12

    Time and date instructions complete list

    #96925 quote
    Sascha
    Participant
    Average

    Thank you Nicolas!

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

How to skip certain days in ProBacktest (ie. Chrismas, Easter, etc.)


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Sascha @goedelsa Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Sascha
6 years, 10 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 04/19/2019
Status: Active
Attachments: No files
Logo Logo
Loading...