Skip to content

Commit 6c70c16

Browse files
committed
MOD: Modify default ts_out for Python client
1 parent d00179f commit 6c70c16

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## 0.13.0 - TBD
44
- Renamed `booklevel` MBP field to `levels` for brevity and consistent naming
55
- Changed `flags` field to an unsigned int
6+
- Changed default of `ts_out` to `False` for `Live` client
67
- Removed `open_interest_qty` and `cleared_volume` fields that were always unset from
78
definition schema
89

databento/live/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class Live:
188188
The remote gateway to connect to; for advanced use.
189189
port : int, optional
190190
The remote port to connect to; for advanced use.
191-
ts_out: bool, default True
191+
ts_out: bool, default False
192192
If set, DBN records will be timestamped when they are sent by the
193193
gateway.
194194
@@ -214,7 +214,7 @@ def __init__(
214214
key: Optional[str] = None,
215215
gateway: Optional[str] = None,
216216
port: Optional[int] = None,
217-
ts_out: bool = True,
217+
ts_out: bool = False,
218218
) -> None:
219219
if key is None:
220220
key = os.environ.get("DATABENTO_API_KEY")

0 commit comments

Comments
 (0)