diff --git a/core/sfgrid_trade_controller.py b/core/sfgrid_trade_controller.py index a1b9eb3..4e51805 100644 --- a/core/sfgrid_trade_controller.py +++ b/core/sfgrid_trade_controller.py @@ -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]