perf: bring the dictionary of maximum intervals in line with the acceptable query periods by FerrusM · Pull Request #14 · RussianInvestments/invest-python · GitHub
Skip to content

perf: bring the dictionary of maximum intervals in line with the acceptable query periods#14

Open
FerrusM wants to merge 3 commits into
RussianInvestments:mainfrom
FerrusM:max_intervals
Open

perf: bring the dictionary of maximum intervals in line with the acceptable query periods#14
FerrusM wants to merge 3 commits into
RussianInvestments:mainfrom
FerrusM:max_intervals

Conversation

@FerrusM

@FerrusM FerrusM commented Feb 26, 2024

Copy link
Copy Markdown

Приведение словаря MAX_INTERVALS в соответствие с допустимыми периодами запросов исторических свечей, указанными в документации. Для CandleInterval.CANDLE_INTERVAL_30_MIN максимальный интервал изменён на timedelta(days=2), для CandleInterval.CANDLE_INTERVAL_2_HOUR и CandleInterval.CANDLE_INTERVAL_4_HOUR максимальный интервал изменён на timedelta(weeks=4), для CandleInterval.CANDLE_INTERVAL_MONTH максимальный интервал изменён на timedelta(days=DAYS_IN_YEAR * 10).

…апросов исторических свечей, указанными в документации.
@python-invest python-invest self-requested a review February 29, 2024 21:05
@python-invest

Copy link
Copy Markdown
Collaborator

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants