fix: preserve SOR execution venue separately
This commit is contained in:
@@ -116,7 +116,8 @@ def test_partial_fill_then_cancel_records_and_keeps_remainder():
|
||||
broker.balance = {"005930": 6}
|
||||
broker.responder = lambda side: FillStatus(
|
||||
state="partially_filled", filled_qty=4, avg_price=1100.0,
|
||||
execution_id="exec-partial", fee=0.5, tax=0.0, cancelled=True,
|
||||
execution_id="exec-partial", fee=0.5, tax=0.0,
|
||||
execution_venue="KRX", cancelled=True,
|
||||
)
|
||||
r = execution.run_once()
|
||||
slot = repo.fetch_slot(sid)
|
||||
|
||||
Reference in New Issue
Block a user