mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-19 11:22:06 +08:00
STY: Add space after comma in order docstring.
This commit is contained in:
@@ -356,10 +356,10 @@ class AlgorithmSimulator(object):
|
||||
"""
|
||||
amount > 0 :: Buy/Cover
|
||||
amount < 0 :: Sell/Short
|
||||
Market order: order(sid,amount)
|
||||
Limit order: order(sid,amount, limit_price)
|
||||
Stop order: order(sid,amount, None, stop_price)
|
||||
StopLimit order: order(sid,amount, limit_price, stop_price)
|
||||
Market order: order(sid, amount)
|
||||
Limit order: order(sid, amount, limit_price)
|
||||
Stop order: order(sid, amount, None, stop_price)
|
||||
StopLimit order: order(sid, amount, limit_price, stop_price)
|
||||
"""
|
||||
|
||||
# just validates amount and passes rest on to TransactionSimulator
|
||||
|
||||
Reference in New Issue
Block a user