Documented the market system properly, squashed some bugs

This commit is contained in:
2022-11-11 07:20:00 +00:00
parent c3d908341a
commit afb0504dca
3 changed files with 163 additions and 38 deletions

View File

@@ -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(),