| | |
| | | result = self.buyStrategyDataManager.add_transaction_info(item) |
| | | if result[0]: |
| | | l2_transaction_price_queue.put_nowait( |
| | | (pTransaction['SecurityID'], pTransaction['TradePrice'], pTransaction['TradeTime'])) |
| | | (pTransaction['SecurityID'], pTransaction['TradePrice'], pTransaction['TradeTime'], result)) |
| | | except Exception as e: |
| | | logger_local_huaxin_l2_error.exception(e) |
| | | |
| | |
| | | result = self.buyStrategyDataManager.add_transaction_info(item) |
| | | if result[0]: |
| | | l2_transaction_price_queue.put_nowait( |
| | | (pTick['SecurityID'], pTick['Price'], pTick['TickTime'])) |
| | | (pTick['SecurityID'], pTick['Price'], pTick['TickTime'], result)) |
| | | except Exception as e: |
| | | logger_local_huaxin_l2_error.exception(e) |
| | | |