comment test print
This commit is contained in:
@@ -123,7 +123,7 @@ class StockTradeController:
|
||||
|
||||
# Description: 网格跳格,双向下单
|
||||
def two_way_order(self, buy, sell):
|
||||
print(f'current grid index = {self.tradeTarget.grid_index}, grid count = {len(sfgrid_constants.grid_price)}')
|
||||
# print(f'current grid index = {self.tradeTarget.grid_index}, grid count = {len(sfgrid_constants.grid_price)}')
|
||||
|
||||
if buy and self.tradeTarget.grid_index+1 < len(sfgrid_constants.grid_price): # 价格没有超过网格下边界,可以下多单
|
||||
currentPrice = sfgrid_constants.grid_price[self.tradeTarget.grid_index]
|
||||
|
||||
Reference in New Issue
Block a user