bitfinex-extractor-influxdb
Bitfinex candle extractor into InfluxDB. You can replicate BFX values into a TSDB and let it running so it will synchronize the Exchange into your local Database.
Usage
Set Up MySQL into your computer. Create two tables:
pair: Add the desired timeseries to this table as rows (Choose from symbols):
timeframe: [‘1m’, ‘5m’, ‘15m’, ‘30m’, ‘1h’, ‘3h’, ‘6h’, ‘12h’, ‘1D’, ‘7D’, ‘14D’, ‘1M’]
Those are the different time interval we are interested for each pair.
Set Up InfluxDB into your computer:
Add a bucket
Exchange Symbols can be found here: https://api-pub.bitfinex.com/v2/conf/pub:list:pair:exchange Credentials and other settings are configured through a .env file in the root of the project. There is a template as .env.sample
To start the extraction, execute DataSync().run()
It will start the process, fed the database and synchronize with new values.
Installation
https://portal.influxdata.com/downloads/
https://hub.docker.com/_/mysql
Requirements
influxdb-client numpy PyMySQL pandas python-dotenv setuptools pendulum requests
Compatibility
This is just a Python program that can run in any system. It was developed using Ubuntu.
Licence
Metadata
Release files for bitfinex-extractor-influxdb 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| bitfinex_extractor_influxdb-0.7.0.tar.gz | 5.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bitfinex_extractor_influxdb-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.9 kB
Release files / bitfinex_extractor_influxdb-0.7.0.tar.gz
| Download URL | bitfinex_extractor_influxdb-0.7.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5082bdcf8d5b8b4c191cdc2df52087848d7b205ae9ee35855d815e12fd1d4da
|
|
BLAKE2b-256 checksum How to use checksums |
1f9c87db35cd6aea4a17ea40722edd75c192fa0b2511b68be5aaffee92f7a215
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5
|
Release files / bitfinex_extractor_influxdb-0.7.0-py3-none-any.whl
| Download URL | bitfinex_extractor_influxdb-0.7.0-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
114ed6b28281db91d6a766c10eee770abe5b3b68bf6fd49503f882b033481432
|
|
BLAKE2b-256 checksum How to use checksums |
271e772d2904727de7fafbcdaa5bffae5850a8a4cb401f989067d4dbbc17dc1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5
|
Security for bitfinex-extractor-influxdb 0.7.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.