mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-03 07:59:53 +08:00
Merge branch 'master' into batch_window
This commit is contained in:
@@ -117,7 +117,7 @@ class FixedSlippage(object):
|
||||
txn = create_transaction(
|
||||
event.sid,
|
||||
amount,
|
||||
event.price + self.spread/2.0,
|
||||
event.price + (self.spread/2.0 * direction),
|
||||
event.dt,
|
||||
direction,
|
||||
self.commission
|
||||
|
||||
Reference in New Issue
Block a user