/* Navicat MySQL Data Transfer Source Server : 本机mysql Source Server Version : 80029 Source Host : localhost:3306 Source Database : exchange Target Server Type : MYSQL Target Server Version : 80029 File Encoding : 65001 Date: 2023-01-10 10:52:50 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for basic_expend_info -- ---------------------------- DROP TABLE IF EXISTS `basic_expend_info`; CREATE TABLE `basic_expend_info` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `exchange` varchar(255) DEFAULT NULL, `chairman` varchar(255) DEFAULT NULL, `manager` varchar(255) DEFAULT NULL, `secretary` varchar(255) DEFAULT NULL, `reg_capital` varchar(255) DEFAULT NULL, `setup_date` varchar(255) DEFAULT NULL, `province` varchar(255) DEFAULT NULL, `city` varchar(255) DEFAULT NULL, `introduction` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `website` varchar(255) DEFAULT NULL, `email` varchar(255) DEFAULT NULL, `office` varchar(255) DEFAULT NULL, `ann_date` varchar(255) DEFAULT NULL, `business_scope` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `employees` varchar(255) DEFAULT NULL, `main_business` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `ts_code` (`ts_code`) ) ENGINE=InnoDB AUTO_INCREMENT=5026 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for basic_info -- ---------------------------- DROP TABLE IF EXISTS `basic_info`; CREATE TABLE `basic_info` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `symbol` varchar(255) DEFAULT NULL, `symbol_name` varchar(255) DEFAULT NULL, `area` varchar(255) DEFAULT NULL, `industry` varchar(255) DEFAULT NULL, `fullname` varchar(255) DEFAULT NULL, `enname` varchar(255) DEFAULT NULL, `cnspell` varchar(255) DEFAULT NULL, `market` varchar(255) DEFAULT NULL, `exchange` varchar(255) DEFAULT NULL, `curr_type` varchar(255) DEFAULT NULL, `list_status` varchar(255) DEFAULT NULL, `list_date` varchar(255) DEFAULT NULL, `delist_date` varchar(255) DEFAULT NULL, `now_price` decimal(10,2) DEFAULT NULL, `is_hs` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `ts_code` (`ts_code`) ) ENGINE=InnoDB AUTO_INCREMENT=4877 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for basic_info_20220601 -- ---------------------------- DROP TABLE IF EXISTS `basic_info_20220601`; CREATE TABLE `basic_info_20220601` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `info_price` decimal(64,10) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `ts_code` (`ts_code`) ) ENGINE=InnoDB AUTO_INCREMENT=9761 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for basic_info_20220601_eq -- ---------------------------- DROP TABLE IF EXISTS `basic_info_20220601_eq`; CREATE TABLE `basic_info_20220601_eq` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `dopen` decimal(64,10) DEFAULT NULL, `dlow` decimal(64,10) DEFAULT NULL, `high` decimal(64,10) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `ts_code` (`ts_code`) ) ENGINE=InnoDB AUTO_INCREMENT=14562 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for basic_info_copy -- ---------------------------- DROP TABLE IF EXISTS `basic_info_copy`; CREATE TABLE `basic_info_copy` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `symbol` varchar(255) DEFAULT NULL, `symbol_name` varchar(255) DEFAULT NULL, `area` varchar(255) DEFAULT NULL, `industry` varchar(255) DEFAULT NULL, `fullname` varchar(255) DEFAULT NULL, `enname` varchar(255) DEFAULT NULL, `cnspell` varchar(255) DEFAULT NULL, `market` varchar(255) DEFAULT NULL, `exchange` varchar(255) DEFAULT NULL, `curr_type` varchar(255) DEFAULT NULL, `list_status` varchar(255) DEFAULT NULL, `list_date` varchar(255) DEFAULT NULL, `delist_date` varchar(255) DEFAULT NULL, `is_hs` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `ts_code` (`ts_code`) ) ENGINE=InnoDB AUTO_INCREMENT=4877 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for basic_info_error -- ---------------------------- DROP TABLE IF EXISTS `basic_info_error`; CREATE TABLE `basic_info_error` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `ts_code` (`ts_code`) ) ENGINE=InnoDB AUTO_INCREMENT=4882 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for basic_info_name -- ---------------------------- DROP TABLE IF EXISTS `basic_info_name`; CREATE TABLE `basic_info_name` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `symbol_name` varchar(255) DEFAULT NULL, `start_date` varchar(255) DEFAULT NULL, `end_date` varchar(255) DEFAULT NULL, `ann_date` varchar(255) DEFAULT NULL, `change_reason` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for exchange_daily -- ---------------------------- DROP TABLE IF EXISTS `exchange_daily`; CREATE TABLE `exchange_daily` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `trade_date` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `open` decimal(64,10) DEFAULT NULL, `high` decimal(64,10) DEFAULT NULL, `low` decimal(64,10) DEFAULT NULL, `d_close` decimal(64,10) DEFAULT NULL, `pre_close` decimal(64,10) DEFAULT NULL, `d_change` decimal(64,10) DEFAULT NULL, `pct_chg` decimal(64,10) DEFAULT NULL, `vol` decimal(64,10) DEFAULT NULL, `amount` decimal(64,10) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `ts_code_2` (`ts_code`,`trade_date`), KEY `ts_code` (`ts_code`), KEY `trade_date` (`trade_date`) ) ENGINE=InnoDB AUTO_INCREMENT=6248380 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for exchange_daily_money -- ---------------------------- DROP TABLE IF EXISTS `exchange_daily_money`; CREATE TABLE `exchange_daily_money` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `trade_date` varchar(255) DEFAULT NULL, `buy_sm_vol` varchar(255) DEFAULT NULL, `buy_sm_amount` varchar(255) DEFAULT NULL, `sell_sm_vol` varchar(255) DEFAULT NULL, `sell_sm_amount` varchar(255) DEFAULT NULL, `buy_md_vol` varchar(255) DEFAULT NULL, `buy_md_amount` varchar(255) DEFAULT NULL, `sell_md_vol` varchar(255) DEFAULT NULL, `sell_md_amount` varchar(255) DEFAULT NULL, `buy_lg_vol` varchar(255) DEFAULT NULL, `buy_lg_amount` varchar(255) DEFAULT NULL, `sell_lg_vol` varchar(255) DEFAULT NULL, `sell_lg_amount` varchar(255) DEFAULT NULL, `buy_elg_vol` varchar(255) DEFAULT NULL, `buy_elg_amount` varchar(255) DEFAULT NULL, `sell_elg_vol` varchar(255) DEFAULT NULL, `sell_elg_amount` varchar(255) DEFAULT NULL, `net_mf_vol` varchar(255) DEFAULT NULL, `net_mf_amount` varchar(255) DEFAULT NULL, `trade_count` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `ts_code_2` (`ts_code`,`trade_date`) USING BTREE, KEY `ts_code` (`ts_code`) USING BTREE, KEY `trade_date` (`trade_date`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=5928072 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for exchange_daily_value -- ---------------------------- DROP TABLE IF EXISTS `exchange_daily_value`; CREATE TABLE `exchange_daily_value` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `trade_date` varchar(255) DEFAULT NULL, `d_close` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `turnover_rate` varchar(255) DEFAULT NULL, `turnover_rate_f` varchar(255) DEFAULT NULL, `volume_ratio` varchar(255) DEFAULT NULL, `pe` varchar(255) DEFAULT NULL, `pe_ttm` varchar(255) DEFAULT NULL, `pb` varchar(255) DEFAULT NULL, `ps` varchar(255) DEFAULT NULL, `ps_ttm` varchar(255) DEFAULT NULL, `dv_ratio` varchar(255) DEFAULT NULL, `dv_ttm` varchar(255) DEFAULT NULL, `total_share` varchar(255) DEFAULT NULL, `float_share` varchar(255) DEFAULT NULL, `free_share` varchar(255) DEFAULT NULL, `total_mv` varchar(255) DEFAULT NULL, `circ_mv` varchar(255) DEFAULT NULL, `limit_status` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `ts_code_2` (`ts_code`,`trade_date`) USING BTREE, KEY `ts_code` (`ts_code`) USING BTREE, KEY `trade_date` (`trade_date`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=5854305 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for exchange_daily_zhishu -- ---------------------------- DROP TABLE IF EXISTS `exchange_daily_zhishu`; CREATE TABLE `exchange_daily_zhishu` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `trade_date` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `open` decimal(64,10) DEFAULT NULL, `high` decimal(64,10) DEFAULT NULL, `low` decimal(64,10) DEFAULT NULL, `d_close` decimal(64,10) DEFAULT NULL, `pre_close` decimal(64,10) DEFAULT NULL, `d_change` decimal(64,10) DEFAULT NULL, `pct_chg` decimal(64,10) DEFAULT NULL, `vol` decimal(64,10) DEFAULT NULL, `amount` decimal(64,10) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `ts_code_2` (`ts_code`,`trade_date`), KEY `ts_code` (`ts_code`), KEY `trade_date` (`trade_date`) ) ENGINE=InnoDB AUTO_INCREMENT=6038485 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for exchange_finance -- ---------------------------- DROP TABLE IF EXISTS `exchange_finance`; CREATE TABLE `exchange_finance` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `ann_date` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `f_ann_date` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `end_date` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `report_type` smallint unsigned DEFAULT '0', `comp_type` smallint unsigned DEFAULT '0', `end_type` smallint unsigned DEFAULT '0', `basic_eps` decimal(64,10) DEFAULT NULL, `diluted_eps` decimal(64,10) DEFAULT NULL, `total_revenue` decimal(64,10) DEFAULT NULL, `total_cogs` decimal(64,10) DEFAULT NULL, `operate_profit` decimal(64,10) DEFAULT NULL, `total_profit` decimal(64,10) DEFAULT NULL, `n_income` decimal(64,10) DEFAULT NULL, `n_income_attr_p` decimal(64,10) DEFAULT NULL, `t_compr_income` decimal(64,10) DEFAULT NULL, PRIMARY KEY (`id`), KEY `ts_code` (`ts_code`), KEY `f_ann_date` (`f_ann_date`), KEY `end_date` (`end_date`), KEY `ann_date` (`ann_date`) ) ENGINE=InnoDB AUTO_INCREMENT=111 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for exchange_param_filter -- ---------------------------- DROP TABLE IF EXISTS `exchange_param_filter`; CREATE TABLE `exchange_param_filter` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `inittime` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `now_avgprice` decimal(64,10) DEFAULT NULL, `now_lowprice` decimal(64,10) DEFAULT NULL, `now_highprice` decimal(64,10) DEFAULT NULL, `now_openprice` decimal(64,10) DEFAULT NULL, `vol` decimal(64,10) DEFAULT NULL, `amount` decimal(64,10) DEFAULT NULL, `endDay` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `end_avgprice` decimal(64,10) DEFAULT NULL, `end_lowprice` decimal(64,10) DEFAULT NULL, `end_highprice` decimal(64,10) DEFAULT NULL, `preDay` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `pre_avgprice` decimal(64,10) DEFAULT NULL, `pre_lowprice` decimal(64,10) DEFAULT NULL, `pre_highprice` decimal(64,10) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `ts_code` (`ts_code`,`inittime`,`endDay`,`preDay`) ) ENGINE=InnoDB AUTO_INCREMENT=2134534 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for exchange_param_luck -- ---------------------------- DROP TABLE IF EXISTS `exchange_param_luck`; CREATE TABLE `exchange_param_luck` ( `id` bigint NOT NULL AUTO_INCREMENT, `initday` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `real_value` decimal(64,10) DEFAULT NULL, `total_value` decimal(64,10) DEFAULT NULL, `random_str` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=15043 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for exchange_param_luck_define -- ---------------------------- DROP TABLE IF EXISTS `exchange_param_luck_define`; CREATE TABLE `exchange_param_luck_define` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=476388 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for exchange_param_luck_detail -- ---------------------------- DROP TABLE IF EXISTS `exchange_param_luck_detail`; CREATE TABLE `exchange_param_luck_detail` ( `id` bigint NOT NULL AUTO_INCREMENT, `initday` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `real_value` decimal(64,10) DEFAULT NULL, `total_value` decimal(64,10) DEFAULT NULL, `random_str` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1999 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for exchange_param_luck_error -- ---------------------------- DROP TABLE IF EXISTS `exchange_param_luck_error`; CREATE TABLE `exchange_param_luck_error` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `buyday` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=886522 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for exchange_param_luck_reconnemd -- ---------------------------- DROP TABLE IF EXISTS `exchange_param_luck_reconnemd`; CREATE TABLE `exchange_param_luck_reconnemd` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `buy` decimal(64,10) DEFAULT NULL, `buyday` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `random_str` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `ts_code` (`ts_code`), KEY `buyday` (`buyday`) ) ENGINE=InnoDB AUTO_INCREMENT=9012966 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for exchange_param_luck_result -- ---------------------------- DROP TABLE IF EXISTS `exchange_param_luck_result`; CREATE TABLE `exchange_param_luck_result` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `open` decimal(64,10) DEFAULT NULL, `low` decimal(64,10) DEFAULT NULL, `buyday` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `random_str` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `ts_code` (`ts_code`), KEY `buyday` (`buyday`) ) ENGINE=InnoDB AUTO_INCREMENT=36133380 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for exchange_param_luck_stock -- ---------------------------- DROP TABLE IF EXISTS `exchange_param_luck_stock`; CREATE TABLE `exchange_param_luck_stock` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `symbol_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `uid` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `buyday` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `buy_price` decimal(64,10) DEFAULT NULL, `now_price` decimal(64,10) DEFAULT NULL, `now_bit` decimal(64,10) DEFAULT NULL, `change_bit` decimal(64,10) DEFAULT NULL, `now_time` varchar(55) DEFAULT NULL, `random_str` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `mai_price` decimal(64,10) DEFAULT NULL, `sub_value` decimal(64,10) DEFAULT NULL, `buymoney` decimal(64,10) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=43112 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for exchange_param_luck_stock_flow -- ---------------------------- DROP TABLE IF EXISTS `exchange_param_luck_stock_flow`; CREATE TABLE `exchange_param_luck_stock_flow` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `uid` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `buyday` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `sellday` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `buy_price` decimal(64,10) DEFAULT NULL, `sell_price` decimal(64,10) DEFAULT NULL, `buymoney` decimal(64,10) DEFAULT NULL, `sellmoney` decimal(64,10) DEFAULT NULL, `random_str` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=79939 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for exchange_param_luck_stock_junxian -- ---------------------------- DROP TABLE IF EXISTS `exchange_param_luck_stock_junxian`; CREATE TABLE `exchange_param_luck_stock_junxian` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `buyday` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `bit` decimal(64,10) DEFAULT NULL, `dclosbit` decimal(64,10) DEFAULT NULL, `hi_40_index` int DEFAULT NULL, `buy` decimal(64,10) DEFAULT NULL, `hi_40` decimal(64,10) DEFAULT NULL, `low_40_index` int DEFAULT NULL, `low_40` decimal(64,10) DEFAULT NULL, `reson_40_with_me` varchar(255) DEFAULT NULL, `reson_40` varchar(255) DEFAULT NULL, `pre_avg_40` decimal(64,10) DEFAULT NULL, `diwei_day_4` int DEFAULT NULL, `diwei_day_3` int DEFAULT NULL, `diwei_day_2` int DEFAULT NULL, `diwei_day_1` int DEFAULT NULL, `jingqi_5_5_vol` decimal(64,10) DEFAULT NULL, `jingqi_5_vol` decimal(64,10) DEFAULT NULL, `jingqi_10_10_vol` decimal(64,10) DEFAULT NULL, `jingqi_10_vol` decimal(64,10) DEFAULT NULL, `avg_5` decimal(64,10) DEFAULT NULL, `avg_withvol_5` decimal(64,10) DEFAULT NULL, `max_5_day` int DEFAULT NULL, `max_5` decimal(64,10) DEFAULT NULL, `avg_10` decimal(64,10) DEFAULT NULL, `avg_withvol_10` decimal(64,10) DEFAULT NULL, `max_10` decimal(64,10) DEFAULT NULL, `avg_20` decimal(64,10) DEFAULT NULL, `avg_withvol_20` decimal(64,10) DEFAULT NULL, `max_20` decimal(64,10) DEFAULT NULL, `avg_40` decimal(64,10) DEFAULT NULL, `avg_withvol_40` decimal(64,10) DEFAULT NULL, `max_40` decimal(64,10) DEFAULT NULL, `max_pro` decimal(64,10) DEFAULT NULL, `max_pro_sub` decimal(64,10) DEFAULT NULL, `last_max_pro_sub_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `sum_pro` decimal(64,10) DEFAULT NULL, `sum_pro_sub` decimal(64,10) DEFAULT NULL, `sum_pro_sub_all` decimal(64,10) DEFAULT NULL, `sum_change` decimal(64,10) DEFAULT NULL, `sum_change_sub` decimal(64,10) DEFAULT NULL, `sum_change_sub_all` decimal(64,10) DEFAULT NULL, `max` decimal(64,10) DEFAULT NULL, `low` decimal(64,10) DEFAULT NULL, `next_low_before` decimal(64,10) DEFAULT NULL, `day_sub` int DEFAULT NULL, `max_day` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `next_low_before_Day` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `next_max_day` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `next_max` decimal(64,10) DEFAULT NULL, `d_close` decimal(64,10) DEFAULT NULL, `d_close_day` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `history_low_sub` decimal(64,10) DEFAULT NULL, `history_low_sub_day` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `history_low_all` decimal(64,10) DEFAULT NULL, `history_aow_all_day` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `two_low` decimal(64,10) DEFAULT NULL, `two_low_next_max` decimal(64,10) DEFAULT NULL, `three_low` decimal(64,10) DEFAULT NULL, `three_low_next_max` decimal(64,10) DEFAULT NULL, `reson` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `pcgLowCounts` decimal(64,10) DEFAULT NULL, `pcgHighCounts` decimal(64,10) DEFAULT NULL, `avg40Times` decimal(64,10) DEFAULT NULL, `historyBit` decimal(64,10) DEFAULT NULL, `avgAll40Times` decimal(64,10) DEFAULT NULL, `high` decimal(64,10) DEFAULT NULL, `preclose` decimal(64,10) DEFAULT NULL, `preAvgBit` decimal(64,10) DEFAULT NULL, `historyAvg` decimal(64,10) DEFAULT NULL, `historylow` decimal(64,10) DEFAULT NULL, `preLow` decimal(64,10) DEFAULT NULL, `nowLow` decimal(64,10) DEFAULT NULL, `open` decimal(64,10) DEFAULT NULL, `nextOpen` decimal(64,10) DEFAULT NULL, `nextHigh` decimal(64,10) DEFAULT NULL, `nextClose` decimal(64,10) DEFAULT NULL, `historylowBit` decimal(64,10) DEFAULT NULL, `preLowBit` decimal(64,10) DEFAULT NULL, `nowLowBit` decimal(64,10) DEFAULT NULL, PRIMARY KEY (`id`), KEY `ts_code` (`ts_code`), KEY `buyday` (`buyday`) ) ENGINE=InnoDB AUTO_INCREMENT=3885871 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for exchange_param_result_junxian -- ---------------------------- DROP TABLE IF EXISTS `exchange_param_result_junxian`; CREATE TABLE `exchange_param_result_junxian` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `buyday` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `bit` decimal(64,10) DEFAULT NULL, `dclosbit` decimal(64,10) DEFAULT NULL, `hi_40_index` int DEFAULT NULL, `buy` decimal(64,10) DEFAULT NULL, `hi_40` decimal(64,10) DEFAULT NULL, `low_40_index` int DEFAULT NULL, `low_40` decimal(64,10) DEFAULT NULL, `reson_40_with_me` varchar(255) DEFAULT NULL, `reson_40` varchar(255) DEFAULT NULL, `pre_avg_40` decimal(64,10) DEFAULT NULL, `diwei_day_4` int DEFAULT NULL, `diwei_day_3` int DEFAULT NULL, `diwei_day_2` int DEFAULT NULL, `diwei_day_1` int DEFAULT NULL, `jingqi_5_5_vol` decimal(64,10) DEFAULT NULL, `jingqi_5_vol` decimal(64,10) DEFAULT NULL, `jingqi_10_10_vol` decimal(64,10) DEFAULT NULL, `jingqi_10_vol` decimal(64,10) DEFAULT NULL, `avg_5` decimal(64,10) DEFAULT NULL, `avg_withvol_5` decimal(64,10) DEFAULT NULL, `max_5_day` int DEFAULT NULL, `max_5` decimal(64,10) DEFAULT NULL, `avg_10` decimal(64,10) DEFAULT NULL, `avg_withvol_10` decimal(64,10) DEFAULT NULL, `max_10` decimal(64,10) DEFAULT NULL, `avg_20` decimal(64,10) DEFAULT NULL, `avg_withvol_20` decimal(64,10) DEFAULT NULL, `max_20` decimal(64,10) DEFAULT NULL, `avg_40` decimal(64,10) DEFAULT NULL, `avg_withvol_40` decimal(64,10) DEFAULT NULL, `max_40` decimal(64,10) DEFAULT NULL, `max_pro` decimal(64,10) DEFAULT NULL, `max_pro_sub` decimal(64,10) DEFAULT NULL, `last_max_pro_sub_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `sum_pro` decimal(64,10) DEFAULT NULL, `sum_pro_sub` decimal(64,10) DEFAULT NULL, `sum_pro_sub_all` decimal(64,10) DEFAULT NULL, `sum_change` decimal(64,10) DEFAULT NULL, `sum_change_sub` decimal(64,10) DEFAULT NULL, `sum_change_sub_all` decimal(64,10) DEFAULT NULL, `max` decimal(64,10) DEFAULT NULL, `low` decimal(64,10) DEFAULT NULL, `next_low_before` decimal(64,10) DEFAULT NULL, `day_sub` int DEFAULT NULL, `max_day` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `next_low_before_Day` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `next_max_day` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `next_max` decimal(64,10) DEFAULT NULL, `d_close` decimal(64,10) DEFAULT NULL, `d_close_day` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `history_low_sub` decimal(64,10) DEFAULT NULL, `history_low_sub_day` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `history_low_all` decimal(64,10) DEFAULT NULL, `history_aow_all_day` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `two_low` decimal(64,10) DEFAULT NULL, `two_low_next_max` decimal(64,10) DEFAULT NULL, `three_low` decimal(64,10) DEFAULT NULL, `three_low_next_max` decimal(64,10) DEFAULT NULL, `reson` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `pcgLowCounts` decimal(64,10) DEFAULT NULL, `pcgHighCounts` decimal(64,10) DEFAULT NULL, `avg40Times` decimal(64,10) DEFAULT NULL, `historyBit` decimal(64,10) DEFAULT NULL, `avgAll40Times` decimal(64,10) DEFAULT NULL, `high` decimal(64,10) DEFAULT NULL, `preclose` decimal(64,10) DEFAULT NULL, `preAvgBit` decimal(64,10) DEFAULT NULL, `historyAvg` decimal(64,10) DEFAULT NULL, `historylow` decimal(64,10) DEFAULT NULL, `preLow` decimal(64,10) DEFAULT NULL, `nowLow` decimal(64,10) DEFAULT NULL, `open` decimal(64,10) DEFAULT NULL, `nextOpen` decimal(64,10) DEFAULT NULL, `nextHigh` decimal(64,10) DEFAULT NULL, `nextClose` decimal(64,10) DEFAULT NULL, `historylowBit` decimal(64,10) DEFAULT NULL, `preLowBit` decimal(64,10) DEFAULT NULL, `nowLowBit` decimal(64,10) DEFAULT NULL, PRIMARY KEY (`id`), KEY `ts_code` (`ts_code`), KEY `buyday` (`buyday`) ) ENGINE=InnoDB AUTO_INCREMENT=7433095 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for exchange_param_v1 -- ---------------------------- DROP TABLE IF EXISTS `exchange_param_v1`; CREATE TABLE `exchange_param_v1` ( `id` bigint NOT NULL AUTO_INCREMENT, `ts_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `initday` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `startlimitday` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `endDay` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `array` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `maxpricebit` decimal(64,10) DEFAULT NULL, `maxvolbit` decimal(64,10) DEFAULT NULL, `maxamountbit` decimal(64,10) DEFAULT NULL, `maxturnbit` decimal(64,10) DEFAULT NULL, `maxpebit` decimal(64,10) DEFAULT NULL, `maxpbbit` decimal(64,10) DEFAULT NULL, `avgpricebit` decimal(64,10) DEFAULT NULL, `avgvolbit` decimal(64,10) DEFAULT NULL, `avgamountbit` decimal(64,10) DEFAULT NULL, `avgturnbit` decimal(64,10) DEFAULT NULL, `avgpebit` decimal(64,10) DEFAULT NULL, `avgpbbit` decimal(64,10) DEFAULT NULL, `lowpricebit` decimal(64,10) DEFAULT NULL, `lowvolbit` decimal(64,10) DEFAULT NULL, `lowamountbit` decimal(64,10) DEFAULT NULL, `lowturnbit` decimal(64,10) DEFAULT NULL, `lowpebit` decimal(64,10) DEFAULT NULL, `lowpbbit` decimal(64,10) DEFAULT NULL, `maxprice` varchar(255) DEFAULT NULL, `lowprice` varchar(255) DEFAULT NULL, `avgprice` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `ts_code` (`ts_code`,`initday`,`array`) ) ENGINE=InnoDB AUTO_INCREMENT=108551 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for luck_param -- ---------------------------- DROP TABLE IF EXISTS `luck_param`; CREATE TABLE `luck_param` ( `id` bigint NOT NULL AUTO_INCREMENT, `reson_40` varchar(255) DEFAULT NULL, `reson_40_with_me` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL, `bitnn` decimal(64,11) DEFAULT NULL, `nums` int DEFAULT NULL, `remark` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=5070 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for test1 -- ---------------------------- DROP TABLE IF EXISTS `test1`; CREATE TABLE `test1` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `times` decimal(64,11) DEFAULT '0.00000000000', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1454 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; -- ---------------------------- -- Table structure for test2 -- ---------------------------- DROP TABLE IF EXISTS `test2`; CREATE TABLE `test2` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `pri` decimal(64,11) DEFAULT '0.00000000000', `pri2` decimal(64,11) DEFAULT '0.00000000000', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1454 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;