| | |
| | | ########华鑫配置######## |
| | | if not is_windows() or True: |
| | | # 下单1手 |
| | | BUY_MONEY_PER_CODE = 500 if constant.IS_A else 5000 |
| | | BUY_MONEY_PER_CODE = 500 if constant.IS_A else 10000 |
| | | L2_SOURCE_TYPE = L2_SOURCE_TYPE_HUAXIN |
| | | JUEJIN_LOCAL_API = False |
| | | TRADE_WAY = TRADE_WAY_HUAXIN |
| | |
| | | |
| | | |
| | | def set_real_place_position(code, index, buy_single_index=None): |
| | | DCancelBigNumComputer().set_real_order_index(code, index) |
| | | # DCancelBigNumComputer().set_real_order_index(code, index) |
| | | SecondCancelBigNumComputer().set_real_place_order_index(code, index) |
| | | LCancelBigNumComputer().set_real_place_order_index(code, index, buy_single_index=buy_single_index) |
| | | HourCancelBigNumComputer().set_real_place_order_index(code, index, buy_single_index) |
| | |
| | | |
| | | def set_open_limit_up_lowest_price(self, code, price): |
| | | old_price = self.__get_open_limit_up_lowest_price_cache(code) |
| | | if not old_price or float(old_price) - float(price) > 0.001: |
| | | if not old_price or float(old_price) > float(price): |
| | | self.__save_open_limit_up_lowest_price(code, price) |
| | | |
| | | def get_buy1_price(self, code): |