From e556104b1e2e01c98ceb1c16448cd4681ef70105 Mon Sep 17 00:00:00 2001 From: admin <admin@example.com> Date: 星期四, 22 五月 2025 14:10:31 +0800 Subject: [PATCH] 1.整理删除不必要的todo 2.将主要使用的策略分支弃用elif 3.修改有概念分支中瞬时量幅比的特别门槛(大市值票不看瞬时量幅比) 4.打印行情-精选-板块的具体数据 --- strategy/order_methods.py | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/strategy/order_methods.py b/strategy/order_methods.py index fae5f57..9132a61 100644 --- a/strategy/order_methods.py +++ b/strategy/order_methods.py @@ -65,7 +65,6 @@ logger.info(f"璇ヨ偂宸茬粡鎸佷粨==銆媨sec_name}") pass - # todo 褰撳墠涓烘祴璇曢樁娈电殑鍐椾綑鎵撳嵃 # 妫�娴嬫寔浠撲俊鎭腑鏈夋棤涓嬪崟涓偂涓旀湁璇ヤ釜鑲$殑褰撳墠鎸佷粨锛屽彧鏈夊綋鍓嶆寔浠撴暟閲忎笉涓�0鏃讹紝鎵嶈涓轰氦鏄撴垚鍔� for i in data_cache.account_positions_dict: # print(i) @@ -157,8 +156,6 @@ if position_volume_yesterday >= sell_order_volume: sell_order_by_volume(symbol, sell_order_volume, sec_name, current_price) logger.info(f"銆愬崄鍒嗕箣 {round(part_of_volume * 10)} 浠撱�戝鍗栧畬姣�") - # todo data_cache.account_positions 鏁版嵁鍐呭宸茬粡鍙樺寲闇�閲嶆柊鍐欙紝浼间箮涓嶇敤璁$畻鍓╀綑鎸佷粨閲忥紝鐩存帴璇锋眰灏辫浜� - # 璁$畻骞舵洿鏂板墿浣欏彲鐢ㄦ寔浠撴暟閲� # data_cache.account_positions[index]['volume'] = position_volume_yesterday - sell_order_volume if data_cache.account_positions_dict[index]['currentPosition'] <= 0: -- Gitblit v1.8.0