Skip to content

tingle2008/exfetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

exfetch 交易所订阅管理

CLI

  • exfetch
  • wss_json_out : 从交易所 wss api中按照 json_case 中的 request 进行订阅. wss_json_out.py --api wss://fstream.binance.com/stream json_case/binance_subscribe_fullMarketMarkPrice.json > a.out
  • json_dsl convert json out to postgresql dsl ./json_dsl.py data.out --data data --table binance_fut_all_mark_price

log level constant

CRITICAL 50 ERROR 40 WARNING 30 INFO 20 DEBUG 10 NOTSET 0

安装:

  1. virutalenv .venv && source .venv/local/bin/activate

About

test fetch binance wss to postgresql

Resources

Stars

Watchers

Forks

Packages

No packages published