YasmanyArciaCorcho / trading-stocks

Platforms to develop, test, and run stock trading strategies
1 stars 0 forks source link

Separate for consolidate time Line 36,37,38 for strategy #22

Open Carto1984 opened 2 years ago

Carto1984 commented 2 years ago

Separate per strategy

Region - General configurations

    # All the variables that manages times are written in seconds.
    self.ConsolidateSecondsTime = 60               # Define the one min candle.
    self.ConsolidateLowPriceTime = 60         # Define low price candle, used on vwap strategy.
    self.AccumulatePositiveTimeRan = 0     # Interval time when all equity price should be over the vwap before entering in a buy trade.