Skip to content

Commit 2a999fe

Browse files
committed
ADD: Add separate BboMsg to DBN
1 parent f0134e6 commit 2a999fe

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed
-267 Bytes
Binary file not shown.
-268 Bytes
Binary file not shown.

tests/test_live_client.py

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1487,18 +1487,17 @@ async def test_live_stream_with_reconnect(
14871487
14881488
"""
14891489
# Arrange
1490-
if schema == "ohlcv-eod":
1491-
pytest.skip("no stub data for ohlcv-eod schema")
1492-
if schema == "imbalance":
1493-
pytest.skip("imbalance is not supported for GLBX.MDP3")
1494-
if schema == "cbbo":
1495-
pytest.skip("no stub data for cbbo schema")
1496-
if schema == "cbbo-1s":
1497-
pytest.skip("no stub data for cbbo-1s schema")
1498-
if schema == "cbbo-1m":
1499-
pytest.skip("no stub data for cbbo-1m schema")
1500-
if schema == "tcbbo":
1501-
pytest.skip("no stub data for tcbbo schema")
1490+
if schema in (
1491+
"ohlcv-eod",
1492+
"imbalance",
1493+
"cbbo",
1494+
"cbbo-1s",
1495+
"cbbo-1m",
1496+
"tcbbo",
1497+
"bbo-1s",
1498+
"bbo-1m",
1499+
):
1500+
pytest.skip(f"no stub data for {schema} schema")
15021501

15031502
output = tmp_path / "output.dbn"
15041503
live_client.add_stream(output.open("wb"))

0 commit comments

Comments
 (0)