All Projects β†’ Corfucinas β†’ crypto-candlesticks

Corfucinas / crypto-candlesticks

Licence: GPL-3.0 license
Download candlestick data fast & easy for analysis

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to crypto-candlesticks

MODIS
Download and processing framework for MODIS imagery. The package provides automated access to the global online data archives LP DAAC, LAADS and NSIDC as well as processing capabilities such as file conversion, mosaicking, subsetting and time series.
Stars: ✭ 48 (+84.62%)
Mutual labels:  download
Port-Able-Suite
🌐 Manager for portable applications
Stars: ✭ 35 (+34.62%)
Mutual labels:  download
Photon
A lightweight multi-threaded downloader based on aria2.
Stars: ✭ 3,026 (+11538.46%)
Mutual labels:  download
DownloadX
Download tool based on kotlin and coroutine.
Stars: ✭ 111 (+326.92%)
Mutual labels:  download
SecureAssetDownload
Craft CMS plugin for secure asset download URLs
Stars: ✭ 22 (-15.38%)
Mutual labels:  download
torrent-spider
基于DHTηš„p2pη½‘η»œθ΅„ζΊηˆ¬θ™«
Stars: ✭ 65 (+150%)
Mutual labels:  download
acd
ACD helps you download Adobe Connect Sessions Videos and Audios, download files from FTP server, transfer files using Shift I/O
Stars: ✭ 117 (+350%)
Mutual labels:  download
http
Aplus Framework HTTP Library
Stars: ✭ 113 (+334.62%)
Mutual labels:  download
1click-webpage-screenshot
Entire page Screenshot extension for Google Chrome. I'm developing open source extension for Google Chrome. All extension are free for use. Let's make Chrome great again!
Stars: ✭ 432 (+1561.54%)
Mutual labels:  download
filimo-plus-cli
FilimoPlusCli: download filimo items
Stars: ✭ 22 (-15.38%)
Mutual labels:  download
audible-cli
A command line interface for audible package. With the cli you can download your Audible books, cover, chapter files.
Stars: ✭ 142 (+446.15%)
Mutual labels:  download
simple http server
simple http server for upload and download
Stars: ✭ 101 (+288.46%)
Mutual labels:  download
watchmarket
Watchmarket is an aggregation and caching service for blockchain market information
Stars: ✭ 85 (+226.92%)
Mutual labels:  prices
terraform-external-module-artifact
Terraform module to fetch any kind of artifacts using curl (binary and text okay)
Stars: ✭ 13 (-50%)
Mutual labels:  download
pyHeadspace
command-line script to download headspace packs, singles, everyday meditation and other sessions. You could also download all packs at once
Stars: ✭ 37 (+42.31%)
Mutual labels:  download
octopus-agile-pi-prices
Display the upcoming prices on the Octopus Energy "Agile" tariff.
Stars: ✭ 35 (+34.62%)
Mutual labels:  prices
gnuplot-examples
GNUPlot Examples
Stars: ✭ 50 (+92.31%)
Mutual labels:  candlesticks
cryptogalaxy
Get any cryptocurrencies ticker and trade data in real time from multiple exchanges and then save it in multiple storage systems.
Stars: ✭ 96 (+269.23%)
Mutual labels:  bitfinex
svg-music-logos
🎧 A collection of logos and symbols from bands, musicians and related in SVG
Stars: ✭ 30 (+15.38%)
Mutual labels:  download
ProgressView
Custom view scrollbar
Stars: ✭ 28 (+7.69%)
Mutual labels:  download

crypto-candlesticks πŸ“ˆ

wemake-python-styleguide Tests Codecov Documentation Status Security: bandit PyPI - License PyPI Python Version pre-commit Downloads

gif-animation


The goal behind this project is to facilitate downloading cryptocurrency candlestick data fast & simple. Currently only the Bitfinex exchange is supported with more to come in future releases.

The command-line interface is built using Click, which is intuitive and will prompt you for the commands.

Once the data is downloaded, it will be converted and stored in a .csv, .sqlite3 and .pickle file for convenient analysis. The data will include the Open, High, Low, Close of the candles and the volume during the interval and its timestamp.

See documentation and Github repository for more information.

Installation

To install the Crypto-candlesticks project, run this command in your terminal:

   pip install crypto-candlesticks

Or if you are using Poetry

    poetry add crypto-candlesticks

Usage

crypto-candlesticks can be used the following way:

    $ crypto-candlesticks
    "Welcome, what data do you wish to download?"

Which will prompt the following:

    Cryptocurrency symbol to download (ie. BTC, ETH, LTC):
    Base pair:
    Interval to download the candlestick data:
    Date to start downloading the data (ie. YYYY-MM-DD):
    Date up to the data will be downloaded (ie. YYYY-MM-DD):

Or you can pass the arguments yourself and skip the prompt:

   crypto-candlesticks [OPTIONS]

   Available options:

   -s <symbol>, --symbol <symbol>

   The ticker you wish to download,
   currently, only data from the Bitfinex exchange
   is supported.
   (e.g. [BTC|ETH|LTC] etc.)

   -b <base currency>, --base_currency <base currency>

    The base pair for the ticker.
    (e.g. [USD|USDT|EUR|CNHT|GBP|JPY|DAI|BTC|EOS|ETH|XCHF|USTF0])

   -i <interval>, --interval <interval>

    The interval for each bar.
    (e.g. [1m|5m|15m|30m|1h|3h|6h|12h|1D|7D|14D|1M])

   -sd <start date>, --start_date <start date>

    YYYY, MM, DD from which the candlestick data
    will start.
    (e.g. [2018-01-01])

   -ed <end date>, --end date <end date>

    YYYY, MM, DD up to which the candlestick
    data will be downloaded.
    (e.g. [2020-01-01])

   --help

   Display a short usage message and exit.

Example output for CSV

Open Close High Low Volume Ticker Date Time
7203 7201 7203.7 7200.1 9.404174 BTC/USD 12/31/2019 16:00:00
7201 7223.6 7223.6 7201 7.9037398 BTC/USD 12/31/2019 16:01:00
7224.4 7225 7225.5 7224.4 0.4799298 BTC/USD 12/31/2019 16:02:00
7224.981 7225.9 7225.9 7224.981 0.9294573 BTC/USD 12/31/2019 16:03:00
7225.862 7225.7295 7225.9 7225.7295 0.2913202 BTC/USD 12/31/2019 16:04:00
7225.7 7225.8673 7225.9 7225.2973 1.0319704 BTC/USD 12/31/2019 16:05:00

Example output for SQL (the timestamp is shown in milliseconds)

ID Timestamp Open Close High Low Volume Ticker Interval
1 1577868000000.0 7205.7 7205.8 7205.8 7205.7 0.07137942 BTCUSD 1m
2 1577867940000.0 7205.70155305 7205.8 7205.8 7205.70155305 0.035 BTCUSD 1m
3 1577867880000.0 7205.7 7205.70155305 7205.70155305 7205.7 0.025 BTCUSD 1m
4 1577867820000.0 7205.75299748 7205.75299748 7205.75299748 7205.7 0.075 BTCUSD 1m
5 1577867760000.0 7205.75299748 7205.2 7206.3 7205.2 0.005 BTCUSD 1m
6 1577867700000.0 7205.2 7205.2 7205.2 7205.2 4.5802 BTCUSD 1m

Contributing

Feel free to open an issue or pull request on Github.

License

GPL-3.0-or-later

Buy me a coffee

ETH: 0x06Acb31587a96808158BdEd07e53668d8ce94cFE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].