Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/optixal/cryptoinscriber
:chart_with_upwards_trend: A live cryptocurrency historical trade data blotter. Download live historical trade data from any cryptoexchange, be it for machine learning, backtesting/visualizing trading strategies or for Quantopian/Zipline.
https://github.com/optixal/cryptoinscriber
backtest bot cryptocurrency data downloader exchange feeds historical historical-data learning live machine poll strategy trade transactions
Last synced: 3 months ago
JSON representation
:chart_with_upwards_trend: A live cryptocurrency historical trade data blotter. Download live historical trade data from any cryptoexchange, be it for machine learning, backtesting/visualizing trading strategies or for Quantopian/Zipline.
- Host: GitHub
- URL: https://github.com/optixal/cryptoinscriber
- Owner: Optixal
- License: mit
- Created: 2017-11-12T16:52:19.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-17T18:07:50.000Z (almost 7 years ago)
- Last Synced: 2024-10-12T22:54:31.935Z (3 months ago)
- Topics: backtest, bot, cryptocurrency, data, downloader, exchange, feeds, historical, historical-data, learning, live, machine, poll, strategy, trade, transactions
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 45
- Watchers: 7
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CryptoInscriber
CryptoInscriber - a live cryptocurrency historical trade data poller. Download live historical trade data from any cryptoexchange, be it for machine learning, trading bots, trading strategies, or perhaps minute-level data is just way too expensive.
Outputs to `out/` by default in CSV format. Title will be `{EXCHANGE}_{MARKET}_{ASCTIME}.csv` with columns `Transaction ID, Timestamp (milli), Price, Amount, Side`
Tested on Debian Stretch, and Raspberry Pi 3 Stretch.
## Installation using Virtualenv
```sh
sudo apt install python3 python3-pip
pip3 install virtualenv
python3 -m virtualenv -p python3 env
source env/bin/activate
pip install -r requirements.txt
./cryptoinscriber
```## Usage
Poll for trade data from Bitstamp on market BTC/USD
`./cryptoinscriber -e bitstamp -m btc/usd`
Poll for trade data from Bitfinex on market BTC/USD, limit to 20 executions per poll
`./cryptoinscriber -e bitfinex -m btc/usd -c '{"limit_trades": 20}'`
Poll for trade data from Quoinex on market BTC/JPY, iterate twice only, limit to 100 executions per poll
`./cryptoinscriber -e bitfinex -m btc/usd -i 2 -c '{"limit": 100}'`