bugfixes a pridana moznost z archivu mit json

This commit is contained in:
David Brazda
2023-05-11 17:30:41 +02:00
parent 8be0fb8a3a
commit 6e775a33d9
21 changed files with 1223 additions and 39 deletions

View File

@ -170,7 +170,6 @@ class LiveInterface(GeneralInterface):
def get_open_orders(self, symbol: str, side: OrderSide = OrderSide.SELL): # -> list(Order):
getRequest = GetOrdersRequest(status=QueryOrderStatus.OPEN, side=side, symbols=[symbol])
try:
# Market order submit
orderlist = self.trading_client.get_orders(getRequest)
#list of Orders (orderlist[0].id)
return orderlist