Skip to content

tomakkou/crypto_vba

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crypto_vba

An Excel/VBA project to communicate with various cryptocurrency exchanges APIs. Tested on Windows 10 & Excel 2016, but should work for Excel 2007+.

Exchanges:

Get information from/send information to:

The API response is pure JSON, for which I included https://github.com/VBA-tools/VBA-JSON to process and a function to build on that. As this is my first Git experiment and Excel/VBA and git don't work that well together, my pushes/forks/updates might be clunky...

How to use?

Import the .bas files you need or simply take the sample Excel file. In the modules you'll find some examples how to use the code. Feel free to create an issue if things don't work for you.

ToDo

  • Expand the XLSM file with working examples
  • Better testing
  • Better error handling
  • Later: place/cancel orders

Done

  • For historical prices, include https://www.cryptocompare.com/api/
  • Build excel functions to get the information directly to a sheet - TEST PHASE
  • Working examples of several exchanges in the example file
  • Created a basic XLSM sample file
  • ArrayToTable improvement to handle various data types (e.g. Trade and Margin trade) in one JSON response
  • Post-process the Array to a more usable format (flat table)
  • Process the response to something you can use in Excel: an array/Range etc.
  • Build a function to transform the JSON to an Array
  • Build tests for all modules/functions
  • Integrate VBA-JSON into the project
  • Build the Bittrex API connector
  • Build the WEXnz API connector (used to be BTCe)
  • Build the Poloniex API connector
  • Build the Kraken API connector
  • Build the Liqui API connector
  • Build the Coinone API connector
  • Build the Cryptopia API connector
  • Build the Binance API connector
  • Build the Coinigy API connector
  • Build the Kucoin API connector
  • Build the HitBTC API connector
  • Build the Coinspot API connector - not finished
  • Build the GDAX API connector - not finished
  • Build the Bitfinex API connector - not finished
  • Build a working and tested VBA hash function
  • Added the UrlEncode function for Cryptopia (and Excel versions before 2016)

Donate

If this project/the Excel saves you a lot of programming time, consider sending me a coffee or a beer:
BTC: 1DNFF9y3dDMLNURpgdT3wXmFpmGBsQRyPa
ETH (or ERC-20 tokens): 0x9070C5D93ADb58B8cc0b281051710CB67a40C72B
DOGE: DHSN2ZEaLqoSW6v9Mg39pwNktHBD7ESSsi
Cheers!

About

An Excel/VBA project to communicate with various cryptocurrency exchanges APIs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Visual Basic .NET 100.0%