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:
|
if trade.price is not None:
|
||||||
print("PRICE IS NOT NONE")
|
|
||||||
if trade.type == "limit":
|
if trade.type == "limit":
|
||||||
data["order"]["price"] = str(trade.price)
|
data["order"]["price"] = str(trade.price)
|
||||||
elif trade.type == "market":
|
elif trade.type == "market":
|
||||||
print("IS MARKET")
|
|
||||||
data["order"]["priceBound"] = str(trade.price)
|
data["order"]["priceBound"] = str(trade.price)
|
||||||
r = orders.OrderCreate(self.account_id, data=data)
|
r = orders.OrderCreate(self.account_id, data=data)
|
||||||
response = self.call(r)
|
response = self.call(r)
|
||||||
|
|
|
@ -224,7 +224,6 @@ def execute_strategy(callback, strategy):
|
||||||
log.error(f"Symbol not supported by account: {symbol}")
|
log.error(f"Symbol not supported by account: {symbol}")
|
||||||
return
|
return
|
||||||
|
|
||||||
print("INSTRUMENTS", instruments)
|
|
||||||
# Extract the information for the symbol
|
# Extract the information for the symbol
|
||||||
instrument = strategy.account.client.extract_instrument(instruments, symbol)
|
instrument = strategy.account.client.extract_instrument(instruments, symbol)
|
||||||
if not instrument:
|
if not instrument:
|
||||||
|
|
Loading…
Reference in New Issue