Closed hyu2707 closed 3 years ago
move those code into infra
def __place_order(self,orders, symbol, quantity): if quantity > 0: orders.append(GQOrder(symbol=symbol, qty=abs(quantity), side='buy')) if quantity < 0: orders.append(GQOrder(symbol=symbol, qty=abs(quantity), side='sell')) return orders
move those code into infra