UNPKG

aspernaturet

Version:

A library for cryptocurrency trading and e-commerce with support for many bitcoin/ether/altcoin exchange markets and merchant APIs

51 lines (29 loc) 2.04 kB
# CCXT Cryptocurrency Trading Library Examples ```diff - this is a work in progress, more examples coming soon! ``` To run the ccxt examples from any folder type one of the following commands in console. ## JavaScript [JavaScript Examples](https://github.com/kroitor/ccxt/tree/master/examples/js) (work in progress) ```shell node path/to/example.js # substitute for actual filename here ``` <img width="842" alt="bitcoin ascii chart" src="https://user-images.githubusercontent.com/1294454/29673849-156f58c6-88f9-11e7-8955-fb3f37467234.png"> ## Python [Python Examples](https://github.com/kroitor/ccxt/tree/master/examples/py) (work in progress) ![basic-chart](https://user-images.githubusercontent.com/1294454/29979754-6d62354c-8f4f-11e7-9e0a-22e87b4a093b.jpg) ```shell python path/to/example.py # substitute for actual filename here ``` ## PHP [PHP Examples](https://github.com/kroitor/ccxt/tree/master/examples/php) (work in progress) ```shell php -f path/to/example.php # substitute for actual filename here ``` ------------------------------------------------------------------------------- ## See Also [bitcoin-chart-cli](https://github.com/madnight/bitcoin-chart-cli) by [madnight](https://github.com/madnight) – a command-line console util that draws Bitcoin, Ether, Litecoin and many altcoin charts right in the terminal! ![bitcoin-chart-cli](https://camo.githubusercontent.com/494806efd925c4cd56d8370c1d4e8b751812030a/68747470733a2f2f692e696d6775722e636f6d2f635474467879362e706e67) It uses the [asciichart](https://github.com/kroitor/asciichart) JavaScript module by [kroitor](https://github.com/kroitor) for nice-looking lightweight ASCII line charting )) Both packages are available in npm! ![asciichart](https://cloud.githubusercontent.com/assets/1294454/22818709/9f14e1c2-ef7f-11e6-978f-34b5b595fb63.png) Special thx to [MitchTalmadge](https://github.com/MitchTalmadge) for porting this package to Java! If you're a Java-guy, check it out here: [ASCIIGraph](https://github.com/MitchTalmadge/ASCIIGraph).