mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 08:18:07 +00:00
55 lines
1.7 KiB
Markdown
55 lines
1.7 KiB
Markdown
# CCXT Cryptocurrency Trading Library Examples
|
|
|
|

|
|
|
|
To run the ccxt examples from any folder type one of the following commands in console.
|
|
|
|
## Typescript
|
|
|
|
[Typescript Examples](/examples/ts/)
|
|
|
|
---
|
|
|
|
## JavaScript
|
|
|
|
[JavaScript Examples](/examples/js/)
|
|
|
|
```shell
|
|
node path/to/example.js # substitute for actual filename here
|
|
```
|
|
|
|
These examples might require the following super-useful high-quality Node.js modules by [xpl](https://github.com/xpl):
|
|
|
|
- [ololog](https://github.com/xpl/ololog): Platform-agnostic logging with blackjack and hookers ([ololog @ npm](https://npmjs.com/package/ololog))
|
|
- [ansicolor](https://github.com/xpl/ansicolor): A quality JavaScript library for the ANSI color/style management ([ansicolor @ npm](https://npmjs.com/package/ansicolor))
|
|
- [as-table](https://github.com/xpl/as-table): A simple function that prints objects as ASCII tables ([as-table @ npm](https://npmjs.com/package/as-table))
|
|
|
|
All of the modules above are installed with the ccxt library devDependencies by npm automatically.
|
|
|
|
<img width="842" alt="bitcoin ascii chart" src="https://user-images.githubusercontent.com/1294454/29673849-156f58c6-88f9-11e7-8955-fb3f37467234.png">
|
|
|
|
---
|
|
|
|
## PHP
|
|
|
|
[PHP Examples](/examples/php/)
|
|
|
|
```shell
|
|
php -f path/to/example.php # substitute for actual filename here
|
|
```
|
|
|
|
---
|
|
|
|
## Python
|
|
|
|
[Python Examples](/examples/py/)
|
|
|
|

|
|
|
|
```shell
|
|
python path/to/example.py # substitute for actual filename here
|
|
```
|
|
|
|
-------------------------------------------------------------------------------
|
|
|