mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-01 12:01:05 +08:00
Merge branch 'master' into batch_window
This commit is contained in:
commit
a185a014db
1 file changed
+1
-1
@@ -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