mirror of
https://github.com/zhangxiangliang/stock-api.git
synced 2025-02-02 22:43:46 +08:00
feat: 增加 默认股票数据常量
This commit is contained in:
parent
787f4fd95d
commit
1f96a91c39
@ -2,3 +2,15 @@ export const COMMON_SZ = "SZ"; // 深交所相关常量
|
||||
export const COMMON_SH = "SH"; // 上交所相关常量
|
||||
export const COMMON_HK = "HK"; // 港交所相关常量
|
||||
export const COMMON_US = "US"; // 美交所相关常量
|
||||
|
||||
// 默认股票数据常量
|
||||
export const DEFAULT_STOCK = {
|
||||
code: '---',
|
||||
name: '---',
|
||||
percent: 0,
|
||||
|
||||
now: 0,
|
||||
low: 0,
|
||||
high: 0,
|
||||
yesterday: 0,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user