This commit is contained in:
Oleg Sheynin
2026-01-15 02:05:35 +00:00
parent c0fabcb429
commit d5f00f557b
6 changed files with 195 additions and 3 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ class PairTrader(NamedObject):
async def _on_md_summary(self, history: List[MdTradesAggregate], exch_inst: ExchangeInstrument) -> None:
# URGENT before calling stragegy, make sure that **BOTH** instruments market data is combined.
Log.info(f"DEBUG got {exch_inst.details_short()} data")
Log.info(f"{self.fname()}: got {exch_inst.details_short()} data")
self.latest_history_[exch_inst] = history
if len(self.latest_history_) == 2:
from itertools import chain