config ={
'host': 'your host',
'user': 'your username',
'password': 'your PWD',
'port': 'your port',
'database': 'your DB name',
'key': 'your CoinAPI key'
}
CoinList = [
{'name': 'huobi_SPOT_eos_USD', 'period': [{'time':'1DAY','table': 'huobi_eos_1d'},{'time':'1HRS','table':'huobi_eos_1h'}]}
]
in the CoinList Json, name means the symbol and time is the data period, table is the db table name.