| | |
| | | # 平开视界 < ±1% |
| | | if -1 < today_open_growth < 1: |
| | | logger_info( |
| | | f"【集合竞价】【{k_line_data[0]['sec_name']}】【昨日炸板】【浮盈】【平开】,平开:{today_open_growth}%,设定委卖数量【十分之五仓】") |
| | | order_methods.sell_order_by_part_volume(0.5, symbol, position_volume_yesterday, |
| | | f"【集合竞价】【{k_line_data[0]['sec_name']}】【昨日炸板】【浮盈】【平开】,平开:{today_open_growth}%,设定委卖数量【四分之一仓】") |
| | | order_methods.sell_order_by_part_volume(0.25, symbol, position_volume_yesterday, |
| | | current_price, |
| | | k_line_data[0]['sec_name'], index) |
| | | # 小低开视界 |
| | | if -4 < today_open_growth <= -1: |
| | | logger_info( |
| | | f"【集合竞价】【{k_line_data[0]['sec_name']}】【昨日炸板】【浮盈】【小低开】,低开:{today_open_growth}%,设定委卖数量【十分之七仓】") |
| | | order_methods.sell_order_by_part_volume(0.7, symbol, position_volume_yesterday, |
| | | f"【集合竞价】【{k_line_data[0]['sec_name']}】【昨日炸板】【浮盈】【小低开】,低开:{today_open_growth}%,设定委卖数量【十分之三仓】") |
| | | order_methods.sell_order_by_part_volume(0.3, symbol, position_volume_yesterday, |
| | | current_price, |
| | | k_line_data[0]['sec_name'], index) |
| | | # 中低开/大低开视界 |
| | | if today_open_growth <= -4: |
| | | logger_info( |
| | | f"【集合竞价】【{k_line_data[0]['sec_name']}】【昨日炸板】【中低开/大低开】,低开:{today_open_growth}%,设定委卖数量【全仓】") |
| | | order_methods.sell_order_by_part_volume(1, symbol, position_volume_yesterday, |
| | | f"【集合竞价】【{k_line_data[0]['sec_name']}】【昨日炸板】【中低开/大低开】,低开:{today_open_growth}%,设定委卖数量【半仓】") |
| | | order_methods.sell_order_by_part_volume(0.5, symbol, position_volume_yesterday, |
| | | current_price, |
| | | k_line_data[0]['sec_name'], index) |
| | | |