Remove some debug statements

Mark Veidemanis 2 years ago
parent afb0504dca
commit 3f855dfb59
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -62,11 +62,9 @@ class OANDAExchange(BaseExchange):
}
}
if trade.price is not None:
print("PRICE IS NOT NONE")
if trade.type == "limit":
data["order"]["price"] = str(trade.price)
elif trade.type == "market":
print("IS MARKET")
data["order"]["priceBound"] = str(trade.price)
r = orders.OrderCreate(self.account_id, data=data)
response = self.call(r)

@ -224,7 +224,6 @@ def execute_strategy(callback, strategy):
log.error(f"Symbol not supported by account: {symbol}")
return
print("INSTRUMENTS", instruments)
# Extract the information for the symbol
instrument = strategy.account.client.extract_instrument(instruments, symbol)
if not instrument:

Loading…
Cancel
Save