SYMBOL INDEX (351 symbols across 62 files) FILE: instock/core/backtest/rate_stats.py function get_rates (line 12) | def get_rates(code_name, data, stock_column, threshold=101): FILE: instock/core/crawling/fund_etf_em.py function fund_etf_spot_em (line 21) | def fund_etf_spot_em() -> pd.DataFrame: function _fund_etf_code_id_map_em (line 119) | def _fund_etf_code_id_map_em() -> dict: function fund_etf_hist_em (line 147) | def fund_etf_hist_em( function fund_etf_hist_min_em (line 219) | def fund_etf_hist_min_em( FILE: instock/core/crawling/stock_chip_race.py function stock_chip_race_open (line 16) | def stock_chip_race_open(date: str = "") -> pd.DataFrame: function stock_chip_race_end (line 84) | def stock_chip_race_end(date: str = "") -> pd.DataFrame: FILE: instock/core/crawling/stock_cpbd.py function stock_cpbd_em (line 14) | def stock_cpbd_em(symbol: str = "688041") -> pd.DataFrame: function stock_zjlx_em (line 105) | def stock_zjlx_em(symbol: str = "688041") -> pd.DataFrame: FILE: instock/core/crawling/stock_dzjy_em.py function stock_dzjy_sctj (line 20) | def stock_dzjy_sctj() -> pd.DataFrame: function stock_dzjy_mrmx (line 75) | def stock_dzjy_mrmx(symbol: str = '基金', start_date: str = '20220104', en... function stock_dzjy_mrtj (line 200) | def stock_dzjy_mrtj(start_date: str = '20220105', end_date: str = '20220... function stock_dzjy_hygtj (line 273) | def stock_dzjy_hygtj(symbol: str = '近三月') -> pd.DataFrame: function stock_dzjy_hyyybtj (line 369) | def stock_dzjy_hyyybtj(symbol: str = '近3日') -> pd.DataFrame: function stock_dzjy_yybph (line 445) | def stock_dzjy_yybph(symbol: str = '近三月') -> pd.DataFrame: FILE: instock/core/crawling/stock_fhps_em.py function stock_fhps_em (line 21) | def stock_fhps_em(date: str = "20231231") -> pd.DataFrame: FILE: instock/core/crawling/stock_fund_em.py function stock_individual_fund_flow_rank (line 21) | def stock_individual_fund_flow_rank(indicator: str = "5日") -> pd.DataFrame: function stock_sector_fund_flow_rank (line 241) | def stock_sector_fund_flow_rank( FILE: instock/core/crawling/stock_hist_em.py function stock_zh_a_spot_em (line 21) | def stock_zh_a_spot_em() -> pd.DataFrame: function code_id_map_em (line 192) | def code_id_map_em() -> dict: function stock_zh_a_hist (line 313) | def stock_zh_a_hist( function stock_zh_a_hist_min_em (line 388) | def stock_zh_a_hist_min_em( function stock_zh_a_hist_pre_min_em (line 518) | def stock_zh_a_hist_pre_min_em( FILE: instock/core/crawling/stock_lhb_em.py function stock_lhb_detail_em (line 21) | def stock_lhb_detail_em( function stock_lhb_stock_statistic_em (line 139) | def stock_lhb_stock_statistic_em(symbol: str = "近一月") -> pd.DataFrame: function stock_lhb_jgmmtj_em (line 226) | def stock_lhb_jgmmtj_em( function stock_lhb_jgstatistic_em (line 322) | def stock_lhb_jgstatistic_em(symbol: str = "近一月") -> pd.DataFrame: function stock_lhb_hyyyb_em (line 422) | def stock_lhb_hyyyb_em( function stock_lhb_yybph_em (line 503) | def stock_lhb_yybph_em(symbol: str = "近一月") -> pd.DataFrame: function stock_lhb_traderstatistic_em (line 611) | def stock_lhb_traderstatistic_em(symbol: str = "近一月") -> pd.DataFrame: function stock_lhb_stock_detail_date_em (line 688) | def stock_lhb_stock_detail_date_em(symbol: str = "600077") -> pd.DataFrame: function stock_lhb_stock_detail_em (line 731) | def stock_lhb_stock_detail_em( FILE: instock/core/crawling/stock_lhb_sina.py function stock_lhb_detail_daily_sina (line 17) | def stock_lhb_detail_daily_sina(date: str = "20240222") -> pd.DataFrame: function _find_last_page (line 59) | def _find_last_page( function stock_lhb_ggtj_sina (line 90) | def stock_lhb_ggtj_sina(symbol: str = "5") -> pd.DataFrame: function stock_lhb_yytj_sina (line 126) | def stock_lhb_yytj_sina(symbol: str = "5") -> pd.DataFrame: function stock_lhb_jgzz_sina (line 163) | def stock_lhb_jgzz_sina(symbol: str = "5") -> pd.DataFrame: function stock_lhb_jgmx_sina (line 204) | def stock_lhb_jgmx_sina() -> pd.DataFrame: FILE: instock/core/crawling/stock_limitup_reason.py function stock_limitup_reason (line 18) | def stock_limitup_reason(date: str = "2025-02-27") -> pd.DataFrame: function stock_limitup_detail (line 92) | def stock_limitup_detail(row): FILE: instock/core/crawling/stock_selection.py function stock_selection (line 17) | def stock_selection() -> pd.DataFrame: function stock_selection_params (line 76) | def stock_selection_params(): FILE: instock/core/crawling/trade_date_hist.py function tool_trade_date_hist_sina (line 306) | def tool_trade_date_hist_sina() -> pd.DataFrame: FILE: instock/core/eastmoney_fetcher.py class eastmoney_fetcher (line 16) | class eastmoney_fetcher: method __init__ (line 22) | def __init__(self): method _get_cookie (line 28) | def _get_cookie(self): method _create_session (line 51) | def _create_session(self): method make_request (line 86) | def make_request(self, url, params=None, retry=3, timeout=10): method make_post_request (line 113) | def make_post_request(self, url, data=None, json=None, params=None, re... method update_cookie (line 144) | def update_cookie(self, new_cookie): FILE: instock/core/indicator/calculate_indicator.py function get_indicators (line 13) | def get_indicators(data, end_date=None, threshold=120, calc_threshold=No... function get_indicator (line 417) | def get_indicator(code_name, data, stock_column, date=None, calc_thresho... FILE: instock/core/kline/cyq.js function CYQCalculator (line 9) | function CYQCalculator(kdata, accuracyFactor, range, cyq_days) { function getCostByChip (line 138) | function getCostByChip(chip) { function CYQData (line 153) | function CYQData() { function CYQDraw (line 228) | function CYQDraw(index) { FILE: instock/core/kline/cyq.py class CYQCalculator (line 13) | class CYQCalculator: method __init__ (line 14) | def __init__(self, kdata, accuracy_factor=150, crange=120, cyq_days=210): method calc (line 27) | def calc(self, index): FILE: instock/core/kline/visualization.py function get_plot_kline (line 29) | def get_plot_kline(code, stock, date, stock_name): FILE: instock/core/pattern/pattern_recognitions.py function get_pattern_recognitions (line 10) | def get_pattern_recognitions(data, stock_column, end_date=None, threshol... function get_pattern_recognition (line 37) | def get_pattern_recognition(code_name, data, stock_column, date=None, ca... FILE: instock/core/singleton_proxy.py class proxys (line 20) | class proxys(metaclass=singleton_type): method __init__ (line 21) | def __init__(self): method get_data (line 28) | def get_data(self): method get_proxies (line 31) | def get_proxies(self): FILE: instock/core/singleton_stock.py class stock_data (line 16) | class stock_data(metaclass=singleton_type): method __init__ (line 17) | def __init__(self, date): method get_data (line 23) | def get_data(self): class stock_hist_data (line 28) | class stock_hist_data(metaclass=singleton_type): method __init__ (line 29) | def __init__(self, date=None, stocks=None, workers=16): method get_data (line 58) | def get_data(self): FILE: instock/core/singleton_stock_web_module_data.py class stock_web_module_data (line 12) | class stock_web_module_data(metaclass=singleton_type): method __init__ (line 13) | def __init__(self): method get_data_list (line 237) | def get_data_list(self): method get_data (line 240) | def get_data(self, name): FILE: instock/core/singleton_trade_date.py class stock_trade_date (line 13) | class stock_trade_date(metaclass=singleton_type): method __init__ (line 14) | def __init__(self): method get_data (line 20) | def get_data(self): FILE: instock/core/stockfetch.py function is_a_stock (line 43) | def is_a_stock(code): function is_not_st (line 49) | def is_not_st(name): function is_open (line 54) | def is_open(price): function is_open_with_line (line 58) | def is_open_with_line(price): function fetch_stocks_trade_date (line 63) | def fetch_stocks_trade_date(): function fetch_etfs (line 76) | def fetch_etfs(date): function fetch_stocks (line 94) | def fetch_stocks(date): function fetch_stock_selection (line 111) | def fetch_stock_selection(): function fetch_stocks_fund_flow (line 125) | def fetch_stocks_fund_flow(index): function fetch_stocks_sector_fund_flow (line 140) | def fetch_stocks_sector_fund_flow(index_sector, index_indicator): function fetch_stocks_bonus (line 154) | def fetch_stocks_bonus(date): function fetch_stock_top_entity_data (line 172) | def fetch_stock_top_entity_data(date): function fetch_stock_lhb_data (line 203) | def fetch_stock_lhb_data(date,count=12): function fetch_stock_top_data (line 227) | def fetch_stock_top_data(date): function fetch_stock_blocktrade_data (line 248) | def fetch_stock_blocktrade_data(date): function fetch_stock_chip_race_open (line 269) | def fetch_stock_chip_race_open(date): function fetch_stock_chip_race_end (line 288) | def fetch_stock_chip_race_end(date): function fetch_stock_limitup_reason (line 307) | def fetch_stock_limitup_reason(date): function fetch_etf_hist (line 320) | def fetch_etf_hist(data_base, date_start=None, date_end=None, adjust='qf... function fetch_stock_hist (line 348) | def fetch_stock_hist(data_base, date_start=None, is_cache=True): function stock_hist_cache (line 368) | def stock_hist_cache(code, date_start, date_end=None, is_cache=True, adj... FILE: instock/core/strategy/backtrace_ma250.py function check (line 17) | def check(code_name, data, date=None, threshold=60): FILE: instock/core/strategy/breakthrough_platform.py function check (line 17) | def check(code_name, data, date=None, threshold=60): FILE: instock/core/strategy/climax_limitdown.py function check (line 15) | def check(code_name, data, date=None, threshold=60): FILE: instock/core/strategy/enter.py function check_volume (line 16) | def check_volume(code_name, data, date=None, threshold=60): FILE: instock/core/strategy/high_tight_flag.py function check_high_tight (line 13) | def check_high_tight(code_name, data, date=None, threshold=60, istop=Fal... FILE: instock/core/strategy/keep_increasing.py function check (line 15) | def check(code_name, data, date=None, threshold=30): FILE: instock/core/strategy/low_atr.py function check_low_increase (line 12) | def check_low_increase(code_name, data, date=None, ma_short=30, ma_long=... FILE: instock/core/strategy/low_backtrace_increase.py function check (line 12) | def check(code_name, data, date=None, threshold=60): FILE: instock/core/strategy/parking_apron.py function check (line 15) | def check(code_name, data, date=None, threshold=15): function check_internal (line 40) | def check_internal(data, limitup_row): FILE: instock/core/strategy/turtle_trade.py function check_enter (line 14) | def check_enter(code_name, data, date=None, threshold=60): FILE: instock/core/tablestructure.py function get_field_cn (line 1038) | def get_field_cn(key, table): function get_field_cns (line 1045) | def get_field_cns(cols): function get_field_types (line 1064) | def get_field_types(cols): function get_field_type_name (line 1071) | def get_field_type_name(col_type): FILE: instock/core/web_module_data.py class web_module_data (line 9) | class web_module_data: method __init__ (line 10) | def __init__(self, mode, type, ico, name, table_name, columns, column_... FILE: instock/job/backtest_data_daily_job.py function prepare (line 25) | def prepare(): function process (line 45) | def process(table, data_all, date, backtest_column): function run_check (line 74) | def run_check(stocks, data_all, date, backtest_column, workers=40): function main (line 97) | def main(): FILE: instock/job/basic_data_after_close_daily_job.py function save_after_close_stock_blocktrade_data (line 21) | def save_after_close_stock_blocktrade_data(date): function save_after_close_stock_chip_race_end_data (line 41) | def save_after_close_stock_chip_race_end_data(date): function main (line 60) | def main(): FILE: instock/job/basic_data_daily_job.py function save_nph_stock_spot_data (line 22) | def save_nph_stock_spot_data(date, before=True): function save_nph_etf_spot_data (line 47) | def save_nph_etf_spot_data(date, before=True): function main (line 71) | def main(): FILE: instock/job/basic_data_other_daily_job.py function save_nph_stock_lhb_data (line 22) | def save_nph_stock_lhb_data(date, before=True): function save_nph_stock_top_data (line 45) | def save_nph_stock_top_data(date, before=True): function save_nph_stock_fund_flow_data (line 69) | def save_nph_stock_fund_flow_data(date, before=True): function run_check_stock_fund_flow (line 107) | def run_check_stock_fund_flow(times): function save_nph_stock_sector_fund_flow_data (line 136) | def save_nph_stock_sector_fund_flow_data(date, before=True): function stock_sector_fund_flow_data (line 146) | def stock_sector_fund_flow_data(date, index_sector): function run_check_stock_sector_fund_flow (line 184) | def run_check_stock_sector_fund_flow(index_sector, times): function save_nph_stock_bonus (line 206) | def save_nph_stock_bonus(date, before=True): function stock_spot_buy (line 229) | def stock_spot_buy(date): function stock_chip_race_open_data (line 257) | def stock_chip_race_open_data(date): function stock_imitup_reason_data (line 278) | def stock_imitup_reason_data(date): function main (line 297) | def main(): FILE: instock/job/execute_daily_job.py function main (line 35) | def main(): FILE: instock/job/indicators_data_daily_job.py function prepare (line 24) | def prepare(date): function run_check (line 61) | def run_check(stocks, date=None, workers=40): function guess_buy (line 88) | def guess_buy(date): function guess_sell (line 123) | def guess_sell(date): function main (line 156) | def main(): FILE: instock/job/init_job.py function create_new_database (line 20) | def create_new_database(): function create_new_base_table (line 34) | def create_new_base_table(): function check_database (line 46) | def check_database(): function main (line 52) | def main(): FILE: instock/job/klinepattern_data_daily_job.py function prepare (line 24) | def prepare(date): function run_check (line 59) | def run_check(stocks, date=None, workers=40): function main (line 82) | def main(): FILE: instock/job/selection_data_daily_job.py function save_nph_stock_selection_data (line 22) | def save_nph_stock_selection_data(date, before=True): function main (line 46) | def main(): FILE: instock/job/strategy_data_daily_job.py function prepare (line 23) | def prepare(date, strategy): function run_check (line 57) | def run_check(strategy_fun, table_name, stocks, date, workers=40): function main (line 85) | def main(): FILE: instock/trade/robot/engine/clock_engine.py class Clock (line 17) | class Clock: method __init__ (line 18) | def __init__(self, trading_time, clock_event): class ClockIntervalHandler (line 23) | class ClockIntervalHandler: method __init__ (line 24) | def __init__(self, clock_engine, interval, trading=True, call=None): method is_active (line 37) | def is_active(self): method __eq__ (line 43) | def __eq__(self, other): method __hash__ (line 49) | def __hash__(self): class ClockMomentHandler (line 53) | class ClockMomentHandler: method __init__ (line 54) | def __init__(self, clock_engine, clock_type, moment=None, is_trading_d... method update_next_time (line 76) | def update_next_time(self): method is_active (line 92) | def is_active(self): class ClockEngine (line 99) | class ClockEngine: method __init__ (line 106) | def __init__(self, event_engine, tzinfo=None): method _init_clock_handler (line 126) | def _init_clock_handler(self): method now (line 155) | def now(self): method now_dt (line 163) | def now_dt(self): method start (line 169) | def start(self): method clocktick (line 172) | def clocktick(self): method tock (line 177) | def tock(self): method _tock (line 183) | def _tock(self): method push_event_type (line 201) | def push_event_type(self, clock_handler): method stop (line 205) | def stop(self): method is_tradetime_now (line 208) | def is_tradetime_now(self): method register_moment (line 211) | def register_moment(self, clock_type, moment, makeup=False): method _register_moment (line 214) | def _register_moment(self, clock_type, moment, is_trading_date=True, m... method register_interval (line 224) | def register_interval(self, interval_minute, trading=True): method _register_interval (line 227) | def _register_interval(self, interval_minute, trading=True, call=None): FILE: instock/trade/robot/engine/event_engine.py class Event (line 13) | class Event: method __init__ (line 14) | def __init__(self, event_type, data=None): class EventEngine (line 19) | class EventEngine: method __init__ (line 22) | def __init__(self): method __run (line 36) | def __run(self): method __process (line 46) | def __process(self, event): method start (line 54) | def start(self): method stop (line 59) | def stop(self): method register (line 64) | def register(self, event_type, handler): method unregister (line 69) | def unregister(self, event_type, handler): method put (line 79) | def put(self, event): method queue_size (line 83) | def queue_size(self): FILE: instock/trade/robot/engine/main_engine.py class MainEngine (line 22) | class MainEngine: method __init__ (line 25) | def __init__(self, broker=None, need_data=None, log_handler=DefaultLog... method start (line 81) | def start(self): method load (line 92) | def load(self, names, strategy_file): method strategy_listen_event (line 135) | def strategy_listen_event(self, strategy, _type="listen"): method load_strategy (line 150) | def load_strategy(self, names=None): method _load_strategy (line 165) | def _load_strategy(self): method get_strategy (line 173) | def get_strategy(self, name): method add_before_shutdown (line 179) | def add_before_shutdown(self, shutdown): method add_after_shutdown (line 187) | def add_after_shutdown(self, shutdown): method _add_main_shutdown (line 194) | def _add_main_shutdown(self, shutdown): method _shutdown (line 201) | def _shutdown(self, sig, frame): FILE: instock/trade/robot/infrastructure/default_handler.py class DefaultLogHandler (line 15) | class DefaultLogHandler(object): method __init__ (line 18) | def __init__(self, name='default', log_type='stdout', filepath='defaul... method __getattr__ (line 35) | def __getattr__(self, item, *args, **kwargs): FILE: instock/trade/robot/infrastructure/strategy_template.py class StrategyTemplate (line 9) | class StrategyTemplate: method __init__ (line 12) | def __init__(self, user, log_handler, main_engine): method init (line 20) | def init(self): method strategy (line 24) | def strategy(self): method clock (line 27) | def clock(self, event): method log_handler (line 30) | def log_handler(self): method shutdown (line 37) | def shutdown(self): FILE: instock/trade/robot/infrastructure/strategy_wrapper.py class ProcessWrapper (line 12) | class ProcessWrapper(object): method __init__ (line 13) | def __init__(self, strategy): method stop (line 21) | def stop(self): method on_clock (line 25) | def on_clock(self, event): method _process_clock (line 28) | def _process_clock(self): method _process (line 40) | def _process(self): FILE: instock/trade/strategies/stagging.py class Strategy (line 14) | class Strategy(StrategyTemplate): method init (line 17) | def init(self): method strategy (line 32) | def strategy(self): method clock (line 36) | def clock(self, event): method log_handler (line 44) | def log_handler(self): method shutdown (line 51) | def shutdown(self): FILE: instock/trade/strategies/stratey1.py class Strategy (line 14) | class Strategy(StrategyTemplate): method init (line 17) | def init(self): method strategy (line 32) | def strategy(self): method clock (line 47) | def clock(self, event): method log_handler (line 55) | def log_handler(self): method shutdown (line 62) | def shutdown(self): FILE: instock/trade/trade_service.py function main (line 19) | def main(): FILE: instock/web/base.py class BaseHandler (line 13) | class BaseHandler(tornado.web.RequestHandler, ABC): method db (line 15) | def db(self): class LeftMenu (line 25) | class LeftMenu: method __init__ (line 26) | def __init__(self, url): function GetLeftMenu (line 32) | def GetLeftMenu(url): FILE: instock/web/dataIndicatorsHandler.py class GetDataIndicatorsHandler (line 16) | class GetDataIndicatorsHandler(webBase.BaseHandler, ABC): method get (line 18) | def get(self): class SaveCollectHandler (line 44) | class SaveCollectHandler(webBase.BaseHandler, ABC): method get (line 46) | def get(self): FILE: instock/web/dataTableHandler.py class MyEncoder (line 18) | class MyEncoder(json.JSONEncoder): method default (line 20) | def default(self, obj): class GetStockHtmlHandler (line 32) | class GetStockHtmlHandler(webBase.BaseHandler, ABC): method get (line 34) | def get(self): class GetStockDataHandler (line 47) | class GetStockDataHandler(webBase.BaseHandler, ABC): method get (line 48) | def get(self): FILE: instock/web/static/js/FileSaver.js function bom (line 19) | function bom (blob, opts) { function download (line 34) | function download (url, name, opts) { function corsEnabled (line 47) | function corsEnabled (url) { function click (line 58) | function click (node) { FILE: instock/web/static/js/bootstrap.min-3.4.1.js function n (line 6) | function n(){o.detach().trigger("closed.bs.alert").remove()} function i (line 6) | function i(o){return this.each(function(){var t=s(this),e=t.data("bs.but... function r (line 6) | function r(n){return this.each(function(){var t=p(this),e=t.data("bs.car... function n (line 6) | function n(t){var e,i=t.attr("data-target")||(e=t.attr("href"))&&e.repla... function l (line 6) | function l(o){return this.each(function(){var t=a(this),e=t.data("bs.col... function l (line 6) | function l(t){var e=t.attr("data-target");e||(e=(e=t.attr("href"))&&/#[A... function s (line 6) | function s(o){o&&3===o.which||(a(".dropdown-backdrop").remove(),a(r).eac... function r (line 6) | function r(o,n){return this.each(function(){var t=a(this),e=t.data("bs.m... function u (line 6) | function u(t,e){var i=t.nodeName.toLowerCase();if(-1!==g.inArray(i,e))re... function n (line 6) | function n(t,e,i){if(0===t.length)return t;if(i&&"function"==typeof i)re... function n (line 6) | function n(){"in"!=e.hoverState&&i.detach(),e.$element&&e.$element.remov... function n (line 6) | function n(t,e){this.$body=s(document.body),this.$scrollElement=s(t).is(... function e (line 6) | function e(o){return this.each(function(){var t=s(this),e=t.data("bs.scr... function e (line 6) | function e(i){return this.each(function(){var t=r(this),e=t.data("bs.tab... function s (line 6) | function s(){o.removeClass("active").find("> .dropdown-menu > .active").... function i (line 6) | function i(o){return this.each(function(){var t=l(this),e=t.data("bs.aff... FILE: instock/web/static/js/jquery.min-3.7.1.js function m (line 2) | function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e... function x (line 2) | function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof... function c (line 2) | function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e... function fe (line 2) | function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLower... function p (line 2) | function p(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCode... function I (line 2) | function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeTyp... function W (line 2) | function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cach... function F (line 2) | function F(e){return e[S]=!0,e} function $ (line 2) | function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e... function B (line 2) | function B(t){return function(e){return fe(e,"input")&&e.type===t}} function _ (line 2) | function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&... function z (line 2) | function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.d... function X (line 2) | function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a... function U (line 2) | function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e} function V (line 2) | function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeTyp... function G (line 2) | function G(){} function Y (line 2) | function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);... function Q (line 2) | function Q(e){for(var t=0,n=e.length,r="";t