Skip to content

Commit dfca953

Browse files
committed
FIX: Fix inconsistent instrument_class DF repr
1 parent eab47a6 commit dfca953

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22

33
## 0.13.0 - TBD
44
- Added support for `statistics` schema
5+
- Added batch download support data files (`condition.json` and `symbology.json`)
56
- Upgraded `databento-dbn` to 0.6.0
67
- Renamed `booklevel` MBP field to `levels` for brevity and consistent naming
78
- Changed `flags` field to an unsigned int
89
- Changed default of `ts_out` to `False` for `Live` client
910
- Removed `open_interest_qty` and `cleared_volume` fields that were always unset from definition schema
11+
- Changed `instrument_class` DataFrame representation to be consistent with other `char` types
1012

1113
## 0.12.0 - 2023-05-01
1214
- Added `Live` client for connecting to Databento's live service

databento/common/data.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,20 +223,21 @@ def get_deriv_ba_types(level: int) -> List[Tuple[str, Union[type, str]]]:
223223
"security_type",
224224
"unit_of_measure",
225225
"underlying",
226+
"strike_price_currency",
227+
"instrument_class",
226228
"match_algorithm",
227229
"security_update_action",
228230
"user_defined_instrument",
229-
"strike_price_currency",
230231
]
231232

232233
DEFINITION_PRICE_COLUMNS = [
233234
"min_price_increment",
234-
"display_factor",
235235
"high_limit_price",
236236
"low_limit_price",
237237
"max_price_variation",
238238
"trading_reference_price",
239239
"min_price_increment_amount",
240+
"price_ratio",
240241
"strike_price",
241242
]
242243

0 commit comments

Comments
 (0)