Skip to main content

Python service that collects crypto-currencies symbols pairs data & allows setup of notifications & automatic trading

Project description

XTCryptoSignals

XTCryptoSignals is a Python service that collects crypto-currencies symbols pairs data such as BTC/USDT, ETH/BTC or any other pair that a Crypto-currency Exchange API supports and allows the user to setup signals based on rules to send real-time notifications through e-mail or Push Notifications to the browser or mobile app. It will allow as well automatic trading.

Roadmap

  • Add crypto-currencies exchanges (Dec 2018)
  • Setup notification rules (Dec 2018 / Jan 2019)
  • Implement e-mail and web browser push notifications signals (Jan 2019)
  • Start building Unit, functional and end-to-end testing (From Jan 2019)
  • Implement automatic trading (Feb/Mar 2019)
  • Build iOS app (Mar 2019)

Getting Started

Pre-requisites

Installation

Install from source

Clone project repository

hg clone ssh://hg@bitbucket.org/pantunes/xtcryptosignals
cd xtcryptosignals

Setup Python virtual environment:

virtualenv venv -p python3
source venv/bin/activate

Install package

pip install -e .

(Dependencies will be installed automatically from requirements.txt)

Install from PyPi

Create folder project:

mkdir <project directory>
cd <project directory>

Setup Python virtual environment:

virtualenv venv -p python3
source venv/bin/activate

Install package

pip install xtcryptosignals

Start service

xt-crypto-signals

Starts standalone script without Celery (for testing purposes)

xt-crypto-signals-test

Setup

There is already an initial setup with some crypto-currencies (coins and tokens) that can be changed in settings_exchanges.py.

BIBOX: {
    'pairs': [
        ('ONT', 'USDT'),
        ('ONT', 'BTC'),
        ('ONT', 'ETH'),
        ('NEO', 'USDT'),
        ('NEO', 'BTC'),
        ('NEO', 'ETH'),
        ('LTC', 'USDT'),
        ('LTC', 'BTC'),
        ('CARD', 'ETH'),
    ]
}

UPHOLD: {
    'pairs': [
        ('BTC', 'USD'),
        ('ETH', 'USD'),
        ('LTC', 'USD'),
        ('XRP', 'USD'),
    ]
}

Initial setup to create dynamic MongoDB collections for data segmentation categorized by Exchanges pooling frequency in settings.py.

HISTORY_FREQUENCY = (
    '10s', '30s', '1m', '10m', '30m', '1h', '3h', '6h', '12h', '24h'
)

Results

This service is fast as it uses threading. It takes around 6 seconds to collect data of 70 crypto-currencies symbols pairs from 7 exchanges and save it in 11 collections in MongoDB. (Depending on external Exchange APIs availability and Internet connection/latency)

Disclaimer

This project is work in progress and when it comes to trading use it at your own risk.

License

GNU

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

XTCryptoSignals-0.0.4.1.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

XTCryptoSignals-0.0.4.1-py2-none-any.whl (35.6 kB view details)

Uploaded Python 2

File details

Details for the file XTCryptoSignals-0.0.4.1.tar.gz.

File metadata

  • Download URL: XTCryptoSignals-0.0.4.1.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for XTCryptoSignals-0.0.4.1.tar.gz
Algorithm Hash digest
SHA256 82f97d581386c263c055354f73269a40e55331727aac4c7d830a5f3e45c5028a
MD5 9dcf04272c26e06a7f16d8c60940c521
BLAKE2b-256 63ad7ee3070755c037d25c8e07d68be5f2f7133d0b658df582a2fc2bad270afc

See more details on using hashes here.

File details

Details for the file XTCryptoSignals-0.0.4.1-py2-none-any.whl.

File metadata

  • Download URL: XTCryptoSignals-0.0.4.1-py2-none-any.whl
  • Upload date:
  • Size: 35.6 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for XTCryptoSignals-0.0.4.1-py2-none-any.whl
Algorithm Hash digest
SHA256 b84a19f03c38f618186d261f9350089be6c2f6869292511acef18baca2b06467
MD5 97f309cc9a6d3da9aff393ef4e1075c8
BLAKE2b-256 e0c45e230ad730f3bc2955f0d6689372a3f43a28ce8b881cebe9d8c97433e869

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