Skip to main content

Python bitfinex Extractor into InfluxDB

Project description

Latest PyPI version https://travis-ci.com/frapercan/bitfinex-extractor-influxdb.svg?branch=main https://codecov.io/gh/frapercan/bitfinex-extractor-influxdb/branch/main/graph/badge.svg?token=Z5KZG308CW Documentation Status

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.

InfluxDB Interface

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

Authors

bitfinex-extractor-influxdb was written by frapercan.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bitfinex_extractor_influxdb-0.7.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file bitfinex_extractor_influxdb-0.7.0.tar.gz.

File metadata

  • Download URL: bitfinex_extractor_influxdb-0.7.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for bitfinex_extractor_influxdb-0.7.0.tar.gz
Algorithm Hash digest
SHA256 c5082bdcf8d5b8b4c191cdc2df52087848d7b205ae9ee35855d815e12fd1d4da
MD5 242e4bc0d1a600208469eaaadff39e5a
BLAKE2b-256 1f9c87db35cd6aea4a17ea40722edd75c192fa0b2511b68be5aaffee92f7a215

See more details on using hashes here.

File details

Details for the file bitfinex_extractor_influxdb-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: bitfinex_extractor_influxdb-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for bitfinex_extractor_influxdb-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 114ed6b28281db91d6a766c10eee770abe5b3b68bf6fd49503f882b033481432
MD5 dcdf737bdaa4eafd024817bb35ca4885
BLAKE2b-256 271e772d2904727de7fafbcdaa5bffae5850a8a4cb401f989067d4dbbc17dc1e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page