Skip to content

Globaleliteee/the-token-fund-asset-parser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assets Parser

Requires authorisation via etherionlab@gmail.com

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

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%