| | |
| | | fields=fields) |
| | | |
| | | @classmethod |
| | | @classmethod |
| | | def get_history_instruments(cls, symbols, start_date, end_date, fields=None): |
| | | if constant.JUEJIN_LOCAL_API: |
| | | account_id, s_id, token = cls.getJueJinAccountInfo() |
| | |
| | | return JueJinApi.get_gp_latest_info(codes, fields) |
| | | |
| | | @classmethod |
| | | def get_history_tick_n(cls, code, count, fields=None): |
| | | def get_history_tick_n(cls, code, count, fields=None, juejin=False): |
| | | # return JueJinApi.get_history_tick_n(code, count, fields) |
| | | if constant.is_windows(): |
| | | if constant.is_windows() or juejin: |
| | | return JueJinApi.get_history_tick_n(code, count, fields) |
| | | else: |
| | | try: |