# coding=utf-8

#市场
MARKET_SZ = 0  # 深圳
MARKET_SH = 1  # 上海

#K线种类
# K 线种类
# 0 -   5 分钟K 线
# 1 -   15 分钟K 线
# 2 -   30 分钟K 线
# 3 -   1 小时K 线
# 4 -   日K 线
# 5 -   周K 线
# 6 -   月K 线
# 7 -   1 分钟
# 8 -   1 分钟K 线
# 9 -   日K 线
# 10 -  季K 线
# 11 -  年K 线

KLINE_5MIN = 0
KLINE_15MIN = 1
KLINE_30MIN = 2
KLINE_1HOUR = 3
KLINE_DAILY = 4
KLINE_WEEKLY = 5
KLINE_MONTHLY = 6
KLINE_EXHQ_1MIN = 7
KLINE_1MIN = 8
KLINE_RI_K = 9
KLINE_3MONTH = 10
KLINE_YEARLY = 11

# 分笔行情最多2000条
MAX_TRANSACTION_COUNT = 2000
# k先数据最多800条
MAX_KLINE_COUNT = 800

# 板块相关参数
BLOCK_SZ = "block_zs.dat"
BLOCK_FG = "block_fg.dat"
BLOCK_GN = "block_gn.dat"
BLOCK_DEFAULT = "block.dat"
