Пример #1
0
 def query_option_holding(self) -> bool:
     """"""
     f = OesQryStkHoldingFilterT()
     f.mktId = eOesMarketIdT.OES_MKT_ID_UNDEFINE
     ret = OesApi_QueryOptHolding(self._env.qryChannel, f,
                                  self.on_query_holding)
     return ret >= 0
Пример #2
0
 def query_option_holding(self) -> bool:
     """"""
     f = OesQryStkHoldingFilterT()
     f.mktId = eOesMarketIdT.OES_MKT_ID_UNDEFINE
     ret = OesApi_QueryOptHolding(self._env.qryChannel,
                                  f,
                                  self.on_query_holding
                                  )
     return ret >= 0
Пример #3
0
 def query_stock_holding(self) -> bool:
     """"""
     f = OesQryStkHoldingFilterT()
     ret = OesApi_QueryStkHolding(self._env.qryChannel,
                                  f,
                                  self.on_query_stock_holding
                                  )
     return ret >= 0