31 lines
710 B
TOML
31 lines
710 B
TOML
# Binance K线数据下载配置
|
|
|
|
[default]
|
|
# 基础URL
|
|
BASE_URL = "https://data.binance.vision/data/futures/um/monthly/klines/"
|
|
|
|
# 默认交易对
|
|
SYMBOLS = ["BOBUSDT", "BTCUSDT"]
|
|
|
|
# 默认时间间隔
|
|
INTERVAL = "1d"
|
|
|
|
# K线数据列名
|
|
KLINE_COLUMNS = [
|
|
"open_time", "open", "high", "low", "close", "volume",
|
|
"close_time", "quote_asset_volume", "number_of_trades",
|
|
"taker_buy_base_asset_volume", "taker_buy_quote_asset_volume", "ignore"
|
|
]
|
|
|
|
# 代理配置
|
|
PROXY_ENABLED = true
|
|
HTTP_PROXY = "http://localhost:1080"
|
|
HTTPS_PROXY = "http://localhost:1080"
|
|
|
|
# PostgreSQL数据库配置
|
|
DB_HOST = "localhost"
|
|
DB_PORT = 5432
|
|
DB_DATABASE = "graphql-engine"
|
|
DB_USER = "root"
|
|
DB_PASSWORD = "pgsqlpasswd.."
|