Remove some debug statements
This commit is contained in:
parent
afb0504dca
commit
3f855dfb59
|
@ -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…
Reference in New Issue