| | |
| | | order_methods.sell_order_by_part_volume(0.1, symbol, position_volume_yesterday, |
| | | current_price, |
| | | k_line_data[0]['sec_name'], index) |
| | | if tick_growth < -0.1 and today_growth < 0 and current_price <= current_low: |
| | | if tick_growth < -1 and today_growth < 0 and current_price <= current_low: |
| | | logger.info( |
| | | f"【开盘临机】【浮动盈亏当前亏】【瞬时跌幅 <-1%】【当日当时涨幅 <0%】【当日新低】【{k_line_data[0]['sec_name']}】,设定委卖数量【全仓】,【瞬时跌幅:{round(tick_growth, 2)}%】,当日当时涨幅:{today_growth}。最新价::{current_price},昨日收盘价:{k_line_data[0]['close']}") |
| | | order_methods.sell_order_by_part_volume(1, symbol, position_volume_yesterday, |
| | |
| | | current_price, |
| | | k_line_data[0]['sec_name'], |
| | | index) |
| | | if tick_growth < -0.1 and today_growth < 0 and current_price <= current_low: |
| | | if tick_growth < -1 and today_growth < 0 and current_price <= current_low: |
| | | logger.info( |
| | | f"【开盘临机】【浮动盈亏当前亏】【瞬时跌幅 <-1%】【当日当时涨幅小于0%】【当日新低】【{k_line_data[0]['sec_name']}】,设定委卖数量【全仓】,【瞬时跌幅:{round(tick_growth, 2)}%】,当日当时涨幅:{today_growth}。最新价::{current_price},昨日收盘价:{k_line_data[0]['close']}") |
| | | order_methods.sell_order_by_part_volume(1, symbol, |