| | |
| | | """ |
| | | THRESHOLD_MONEY = BeforeSubDealBigOrderManager().get_big_order_threshold(code) |
| | | TOTAL_BIG_DEAL_MONEY_THRESHOLD_COUNT = round( |
| | | code_volumn_manager.CodeVolumeManager().get_max_volume_in_5days(code) * limit_up_price / 1e8, 2) * 1.2 |
| | | code_volumn_manager.CodeVolumeManager().get_max_volume_in_5days(code) * limit_up_price / 1e8, 2) * 1.5 |
| | | if tool.is_ge_code(code): |
| | | TOTAL_BIG_DEAL_MONEY_THRESHOLD_COUNT *= 3.3 |
| | | |
| | | TOTAL_BIG_DEAL_MONEY_THRESHOLD_MONEY = TOTAL_BIG_DEAL_MONEY_THRESHOLD_COUNT * THRESHOLD_MONEY |
| | | deal_big_order_money = BigOrderDealManager().get_total_buy_money(code) |
| | | deal_big_sell_money = BigOrderDealManager().get_total_sell_money(code) |
| | | # 减去大卖单 |
| | | deal_big_order_money -= deal_big_sell_money |
| | | |
| | | # 添加订阅之前缺失的大单 |
| | | deal_big_order_money += BeforeSubDealBigOrderManager().get_deal_big_order_money(code) |
| | | try: |