Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Latest commit

 

History

History
35 lines (23 loc) · 1.05 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.05 KB

Assets Parser

Requires authorisation via [email protected]

Config

Default config path is configs/main.yml

You need to fill config file with your credentials information. For example see example.yml

Server endpoints

  • /update_table: updates the google sheet with actual information on balances, prices, etc. Returns JSON {"status": "OK", "data": none} on success

  • /token_price: fetches the actual token price. Returns JSON {"USD": 12.3, "BTC": 32.1, "ETH": 21.3, "token_supply": 1234", "balances": { "ETH": 1631.0246158715327, "EXP": 0.0, "BAT": 213217.96720379 }} on success

Scripts

First activate virtualenv by running: source env/bin/activate

python3 update_table.py - updates prices, balances and portfolio of the fund.

Balances fetcher works for following currencies:

BTC, ETH, ETC, ICONOMI, GOLEM, MLN, HMQ, LH, REP, WAVES, GAME, ANT, BCAP, BAT, SNT, STORJ, SONM, CVC, STARTA, GBYTE, XEM, AE, QTUM (ERC20), OMG, PAY, CND, REQ.

  • Poloniex
  • Kraken
  • Bitstamp
  • Binance
  • Bittrex