Documented the market system properly, squashed some bugs
This commit is contained in:
@@ -54,7 +54,7 @@ class OANDAExchange(BaseExchange):
|
||||
# "price": "1.5000", - added later
|
||||
"stopLossOnFill": {"timeInForce": "GTC", "price": str(trade.stop_loss)},
|
||||
"takeProfitOnFill": {"price": str(trade.take_profit)},
|
||||
# "timeInForce": "GTC",
|
||||
"timeInForce": "GTC",
|
||||
"instrument": trade.symbol,
|
||||
"units": str(amount),
|
||||
"type": trade.type.upper(),
|
||||
|
||||
Reference in New Issue
Block a user