diag: Log incoming books at Info level in bybit_md_provider
This commit is contained in:
1 parent
9ae9451359
commit
3f9923239e
1 file changed
+1
-1
@@ -209,7 +209,7 @@ class BybitMdProvider(MdProvider):
|
||||
sorted_asks = sorted(raw_asks, key=lambda x: x[0])[:5]
|
||||
sorted_asks += [(np.float64('nan'), np.float64('nan'))]
|
||||
|
||||
logger.debug(f"📘 BOOK DATA for {contract}: bids={sorted_bids} asks={sorted_asks}")
|
||||
logger.info(f"📘 BOOK DATA for {contract}: bids={sorted_bids} asks={sorted_asks}")
|
||||
|
||||
book = PyBook()
|
||||
book.set_data(
|
||||
|
||||
Reference in new issue
Block a user