OHLCV+
Download market data, aka OHLCV for Open High Low Close Volume, is something very useful for a trader. OHLCV+ provide you a way to manage your data.
Features 📋
- Download market data very quickly using multithreading (in the respect of API rate limit).
- Save your data in a lightweight database.
- Load your data from the database very quickly.
- Update your data to keep up-to-date ohlcvs.
- Super simple with only one method to use.
Tutorial 🔎
Dependencies
- Pandas
- CCXT
- colorama
- SQLAlchemy
Installation
The package is packaged as a pip package, you can install it with this command:
pip install OhlcvPlus
You can also manually download this project and its dependencies.
pip install -r requirements.txt
Usage
OhlcvPlus is super easy to use ! To see how it works, just look at the example.py file. The code is also commented, you can easily take a look at the methods docstrings.
from ohlcv import OhlcvPlus
import ccxt.
client = ccxt.binance()
ohlcvp = OhlcvPlus(client, database_path='my_data.db')
ohlcv1 = ohlcvp.load(market='BTC/USDT', timeframe='1m', since='2023-01-01 00:00:00', limit=1000, update=True, verbose=True, workers=100)
Metadata
Release files for ohlcv-plus 2.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ohlcv-plus-2.0.3.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ohlcv_plus-2.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.8 kB
Release files / ohlcv-plus-2.0.3.tar.gz
| Download URL | ohlcv-plus-2.0.3.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5addca7794d904ae6dbc401719332dc6c142dea51cc40ded8239aba444852472
|
|
BLAKE2b-256 checksum How to use checksums |
46ccf3a3bdcb778d4efacc8a2e077ace6fdd4c474881743d6d6d574f244a377c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Release files / ohlcv_plus-2.0.3-py3-none-any.whl
| Download URL | ohlcv_plus-2.0.3-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d8c5aebd2212b3405498bf3cf28f22c4198be860ab7a9a06deac71db1037d2ff
|
|
BLAKE2b-256 checksum How to use checksums |
cbd830540b1fa350302f3a0453e295f6b4c47354b77571949f52da61b6950705
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|