stock-tracker
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding:utf-8 -*-
|
||||
"""
|
||||
Date: 2019/10/20 10:58
|
||||
Desc: 外汇配置文件
|
||||
"""
|
||||
|
||||
# headers
|
||||
SHORT_HEADERS = {
|
||||
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.91 Safari/537.36"
|
||||
}
|
||||
# url
|
||||
FX_SPOT_URL = (
|
||||
"http://www.chinamoney.com.cn/r/cms/www/chinamoney/data/fx/rfx-sp-quot.json"
|
||||
)
|
||||
FX_SWAP_URL = (
|
||||
"http://www.chinamoney.com.cn/r/cms/www/chinamoney/data/fx/rfx-sw-quot.json"
|
||||
)
|
||||
FX_PAIR_URL = (
|
||||
"http://www.chinamoney.com.cn/r/cms/www/chinamoney/data/fx/cpair-quot.json"
|
||||
)
|
||||
# payload
|
||||
SPOT_PAYLOAD = {"t": {}}
|
||||
Reference in New Issue
Block a user