fix: preserve SOR execution venue separately
This commit is contained in:
@@ -59,7 +59,8 @@ def test_buy_fill_enqueues_one_ledger_item_and_writer_records_it():
|
||||
assert (t.asset_id, t.side, t.qty, t.price) == ("PF-1", "buy", 10, 1000.0)
|
||||
assert t.execution_id.startswith("paper:PAPER-")
|
||||
assert t.fee > 0.0 and t.tax == 0.0
|
||||
assert t.venue == "SOR"
|
||||
assert t.order_venue == "SOR"
|
||||
assert t.venue == "KRX" # paper's deterministic SOR execution exchange
|
||||
|
||||
|
||||
def test_sell_fill_enqueues_sell_ledger_item():
|
||||
|
||||
Reference in New Issue
Block a user