Harden trading, training, and monitoring

This commit is contained in:
Codex
2026-07-10 15:51:53 +03:00
parent 6fb79ee2a9
commit 069d75d2f2
55 changed files with 2658 additions and 2332049 deletions
+2 -1
View File
@@ -15,7 +15,7 @@ def reconciliation_snapshot(
client: BybitClient,
instruments: dict[str, Instrument],
) -> dict[str, Any]:
local_positions = storage.open_positions()
local_positions = storage.open_positions(settings.trading_mode)
local = [
{
"id": position.id,
@@ -23,6 +23,7 @@ def reconciliation_snapshot(
"qty": position.qty,
"entry_price": position.entry_price,
"notional_usdt": position.notional_usdt,
"protective_order_id": position.protective_order_id,
}
for position in local_positions
]