| | |
| | | order_methods, local_data_management, kpl_data_manager, market_sentiment_analysis, plate_strength_analysis, \ |
| | | selling_strategy |
| | | from huaxin_client import l2_market_client, l2_client |
| | | from log_module import async_log_util |
| | | from log_module import async_log_util, log |
| | | from trade import huaxin_trade_data_update, huaxin_trade_api |
| | | from utils import hx_qc_value_util, huaxin_util, juejin_api, tool |
| | | |
| | |
| | | |
| | | # 第三步:执行策略的初始设置 |
| | | if __name__ == '__main__': |
| | | log.close_print() |
| | | class MyMarketDataCallback(l2_market_client.L2MarketDataCallback): |
| | | def on_markets(self, datas): |
| | | """ |
| | |
| | | :return: |
| | | """ |
| | | data_cache.latest_code_market_info_dict = {x[0]: x for x in datas} |
| | | if datas: |
| | | print(datas[0]) |
| | | if constant.is_windows(): |
| | | instant_time_market.get_current_info() |
| | | else: |