moexapi 1.7.11__tar.gz → 1.7.12__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {moexapi-1.7.11 → moexapi-1.7.12}/PKG-INFO +1 -1
- {moexapi-1.7.11 → moexapi-1.7.12}/moexapi/history.py +3 -1
- {moexapi-1.7.11 → moexapi-1.7.12}/moexapi.egg-info/PKG-INFO +1 -1
- {moexapi-1.7.11 → moexapi-1.7.12}/pyproject.toml +1 -1
- {moexapi-1.7.11 → moexapi-1.7.12}/LICENSE +0 -0
- {moexapi-1.7.11 → moexapi-1.7.12}/README.md +0 -0
- {moexapi-1.7.11 → moexapi-1.7.12}/moexapi/__init__.py +0 -0
- {moexapi-1.7.11 → moexapi-1.7.12}/moexapi/bonds.py +0 -0
- {moexapi-1.7.11 → moexapi-1.7.12}/moexapi/candles.py +0 -0
- {moexapi-1.7.11 → moexapi-1.7.12}/moexapi/changeover.py +0 -0
- {moexapi-1.7.11 → moexapi-1.7.12}/moexapi/dividends.py +0 -0
- {moexapi-1.7.11 → moexapi-1.7.12}/moexapi/exchange.py +0 -0
- {moexapi-1.7.11 → moexapi-1.7.12}/moexapi/markets.py +0 -0
- {moexapi-1.7.11 → moexapi-1.7.12}/moexapi/splits.py +0 -0
- {moexapi-1.7.11 → moexapi-1.7.12}/moexapi/tickers.py +0 -0
- {moexapi-1.7.11 → moexapi-1.7.12}/moexapi/utils.py +0 -0
- {moexapi-1.7.11 → moexapi-1.7.12}/moexapi.egg-info/SOURCES.txt +0 -0
- {moexapi-1.7.11 → moexapi-1.7.12}/moexapi.egg-info/dependency_links.txt +0 -0
- {moexapi-1.7.11 → moexapi-1.7.12}/moexapi.egg-info/requires.txt +0 -0
- {moexapi-1.7.11 → moexapi-1.7.12}/moexapi.egg-info/top_level.txt +0 -0
- {moexapi-1.7.11 → moexapi-1.7.12}/setup.cfg +0 -0
|
@@ -120,6 +120,9 @@ def _parse_history(
|
|
|
120
120
|
history = utils.prepare_dict(response, "history")
|
|
121
121
|
boards = []
|
|
122
122
|
for line in history:
|
|
123
|
+
board = line["BOARDID"]
|
|
124
|
+
if ticker.boards and board not in ticker.boards:
|
|
125
|
+
continue
|
|
123
126
|
date = datetime.date.fromisoformat(line["TRADEDATE"])
|
|
124
127
|
start_date = date
|
|
125
128
|
low = line["LOW"]
|
|
@@ -144,7 +147,6 @@ def _parse_history(
|
|
|
144
147
|
volume=line.get("VOLUME"),
|
|
145
148
|
value=value,
|
|
146
149
|
)
|
|
147
|
-
board = line["BOARDID"]
|
|
148
150
|
if len(result) > 0 and result[-1].date == date:
|
|
149
151
|
if board in boards:
|
|
150
152
|
continue
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|