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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: moexapi
3
- Version: 1.7.11
3
+ Version: 1.7.12
4
4
  Summary: Python API for MOEX ISS
5
5
  Author-email: Aliaksei Rak <kventinel@gmail.com>
6
6
  License: MIT License
@@ -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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: moexapi
3
- Version: 1.7.11
3
+ Version: 1.7.12
4
4
  Summary: Python API for MOEX ISS
5
5
  Author-email: Aliaksei Rak <kventinel@gmail.com>
6
6
  License: MIT License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "moexapi"
7
- version = "1.7.11"
7
+ version = "1.7.12"
8
8
  description = "Python API for MOEX ISS"
9
9
  readme = "README.md"
10
10
  authors = [{ name = "Aliaksei Rak", email = "kventinel@gmail.com" }]
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