is_order_exist

czsc.gm_utils.is_order_exist(context, symbol, side) bool[source]

判断同方向订单是否已经存在

Parameters
  • context

  • symbol – 交易标的

  • side – 交易方向

Returns

bool