skylovead / cryptoassets

多账号资产记录,统计资产分布图等

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crypto Assets

统计你的个人资产

image

缘由

FCoin 跑路时,提币需邮件回复账户里资金数量,有多少人能知道自己资金具体数目?难。

快速上手

打开工具时自动记录其各平台账户资金数目,统计其占比

编译

安装go

  • git clone https://github.com/goex-top/cryptoassets.git
  • git submodule update --init --recursive
  • go build

运行

  • ./cryptoassets
  • 打开浏览器访问 http://localhost:9000
  • 输入配置文件config.toml中的用户名与密码

配置

创建一份config.toml配置文件,如cp sample-config.toml config.toml ,修改其内容

proxy=""                 # socks5://127.0.0.1:1080
freq=60                  # unit: second, 60 for 1min
debug = true             # enable / disable verbase log print
[user]
username="admin"         #  username for login
password="AbcdEfgh"      # password for login and encrypts and decrypts your apiseckey to store in database

密钥存储

  • 用户创建交易所时,密钥会通过AES(ECB)加密后存储至数据库中,切记toml配置文件中的password,这个password是解密数据库中密钥的唯一密码。
  • 尽量创建只读API KEY

目前支持平台

平台 现货 期货(合约) 期货(永续) LOGO
BitMEX ☑️ ☑️ bitmex
Binance ☑️ ☑️ binance
OKEx ☑️ ☑️ ☑️ OKEx
Huobi ☑️ ☑️ huobipro
Poloniex ☑️ poloniex
Bitfinex ☑️ bitfinex
Bitstamp ☑️ bitstamp
Bittrex ☑️ bittrex
Bithumb ☑️ bithumb
GateIO ☑️ GateIO
ZB ☑️ zb
BigONE ☑️ BigONE
HitBTC ☑️ HitBTC

工具会将支持平台的账户资金拉取进行合并

汇率

更新周期为2小时

前端源码

如果想修改web源码,请查看仓库https://github.com/goex-top/cryptoassetsweb.git

咖啡一杯

如果对你有用,可为作者买一杯咖啡/一碗热干面

一杯咖啡 一碗热干面

About

多账号资产记录,统计资产分布图等


Languages

Language:Go 99.3%Language:Shell 0.7%