Path: blob/master/ invest-robot-contest_NeuroInvest-main/NeuroInvest/config.py
5931 views
from tinkoff.investments import CandleResolution1from enum import Enum23# interval between trading points in seconds4scanInterval = 5 * 605tinkoffScanInterval = CandleResolution.MIN_567# scan period from current time in seconds8scanPeriod = 3 * 24 * 60 * 60910# prediction period for training11predictPeriod = 1 * 24 * 60 * 601213# historical scan period for training14# 100 days for beginning15trainingPeriod = 100 * 24 * 60 * 601617# intervals for calculating predictions18predictionIntervals = [1 * 60 * 60, 2 * 60 * 60, 4 * 60 * 60, 8 * 60 * 60]1920# TOKENS2122# Tinkoff API23tinkoffAPIToken = " << TOKEN >> "2425# TTinkoff trading pair data26class TinkoffTrade(Enum):27APPLE = {"name": "APPLE INC/USD", "figi": "BBG000B9XRY4"},28GAZPROM_OIL = {"name": "GAZPROM NEFT PJSC/RUR", "figi": "BBG004S684M6"},2930