feat: propagate intent venue through execution

This commit is contained in:
jordan
2026-07-29 16:55:20 +09:00
parent 7084304c9f
commit 479cb39a7e
22 changed files with 314 additions and 19 deletions
@@ -35,7 +35,7 @@ _SLOT_COLUMNS = (
"order_id, strategy_id, broker_order_id, portfolio_id, "
"sell_strategy_id, forced_close_at, stop_loss_price, take_profit_price, "
"created_at, updated_at, instance_key, retired_at, "
"timeout_sec, slippage_pct, occupancy_seq"
"timeout_sec, slippage_pct, occupancy_seq, venue"
)
_MANAGED_SLOT_SQL = (
f"SELECT {_SLOT_COLUMNS} FROM daily_slot "
@@ -145,6 +145,7 @@ def _row(slot: Slot) -> tuple:
slot.timeout_sec,
Decimal(str(slot.slippage_pct)),
slot.occupancy_seq,
slot.venue,
)