mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-28 14:47:08 +08:00
fixed default to be partial fill
This commit is contained in:
@@ -260,7 +260,7 @@ class OrderDataSource(qmsg.DataSource):
|
||||
|
||||
class TransactionSimulator(qmsg.BaseTransform):
|
||||
|
||||
def __init__(self, style):
|
||||
def __init__(self, style=SIMULATION_STYLE.PARTIAL_VOLUME):
|
||||
qmsg.BaseTransform.__init__(self, zp.TRANSFORM_TYPE.TRANSACTION)
|
||||
self.open_orders = {}
|
||||
self.order_count = 0
|
||||
|
||||
Reference in New Issue
Block a user