معرفی شرکت ها


XTCryptoSignals-0.8.9


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Platform that collects cryptocurrencies price data, fires alerts based on price sentiment and many other features.
ویژگی مقدار
سیستم عامل OS Independent
نام فایل XTCryptoSignals-0.8.9
نام XTCryptoSignals
نسخه کتابخانه 0.8.9
نگهدارنده ['Paulo Antunes']
ایمیل نگهدارنده ['pjmlantunes@gmail.com']
نویسنده Paulo Antunes
ایمیل نویسنده pjmlantunes@gmail.com
آدرس صفحه اصلی https://xtcryptosignals.com
آدرس اینترنتی https://pypi.org/project/XTCryptoSignals/
مجوز GPL
# XTCryptoSignals **XTCryptoSignals** is a Python library that includes the following 3 services: * #### Tasks * **Data collection** of crypto-currencies pairs such as BTC/USDT, ETH/BTC or any other pair that is supported by the Exchange API. * A **Signals** service based on setup rules to send real-time alerts about price, price change, trading volume or market sentiment sending Web Push Notifications to the client browser (Firefox, Chrome) or/and to Telegram Channel. * **Market Depth**, **Content** and **Data** fetching Tasks. (Web Push Notifications are implemented with [ServiceWorker](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/showNotification) that is compatible with the most known web browsers.) * #### RESTFul Server API * Restful interface that exposes API entry points to get desired crypto-currencies data. * SocketIO Server to broadcast real-time data to clients. * #### Website ## Roadmap * [x] Add crypto-currencies exchanges (Dec 2018) * [x] Implement RESTFul API and socket.io to access price data in real time (Jan 2019) * [x] Build website (Jan 2019) * [x] Add Gunicorn to make it production ready (March 2019) * [x] Building Unit, functional and end-to-end testing for existing and future features (Jan 2019) * [x] User account creation, Session and Assets Management (Oct 2019) * [x] Implement web push notification signals for price range, price change, trading volume, price sentiment, etc (July 2019) * [x] Implement Telegram bot to broadcast notifications (Feb 2020) * [x] Create nice features and make platform improvements on-the-fly (From 2020 onwards) ## Getting Started ### Pre-requisites * [Python >= 3.7](https://www.python.org/downloads) * [Redis](https://redis.io/download) * [MongoDB](https://www.mongodb.com) ## Installation ### Install from source Clone project repository: ```bash git clone https://github.com/pantunes/xtcryptosignals.git cd xtcryptosignals ``` Setup Python virtual environment: ```bash virtualenv venv -p python3 source venv/bin/activate ``` Install package in develop mode: ```bash pip install -e . ``` (Dependencies will be installed automatically from [requirements.txt](requirements.txt)) ### Path to the settings file Before running `xt-server`, `xt-client`, `xt-tasks` and tests the env var `SETTINGS_APP` should be set to the path of its settings file. This can be achieved inline `SETTINGS_APP=<path to configuration>` followed by the app cli or executing `export SETTINGS_APP=<path to configuration>` before running any of the command line . Example of `xt-client` settings file [client.dev.env](xtcryptosignals/config/client.dev.env): ```bash SECRET_KEY='bRdzq6ZMQ;HGB3JWVxs&WQ4>6r{' GA_TRACKING_ID='UA-12341343-2' ``` Example of `xt-server` or `xt-tasks` settings file [server.dev.env](xtcryptosignals/config/server.dev.env): ```bash SECRET_KEY='MfYfEeom6)EyhcKcFh@+WGx8hvhP/,K67hA6' CORS_ALLOWED_ORIGINS=('https://mydomain.com',) MONGODB_HOST='localhost' MONGODB_PORT=27017 MONGODB_NAME='MyDatabaseName' ``` Run tests: ```bash SETTINGS_APP=server.dev.env python setup.py test # or SETTINGS_APP=server.dev.env pytest ``` ### Install from PyPi Create folder project: ```bash mkdir xtcryptosignals cd xtcryptosignals ``` Setup Python virtual environment: ```bash virtualenv venv -p python3 source venv/bin/activate ``` Install package: ```bash pip install xtcryptosignals ``` #### Run database migrations It will populate some collections with data: ```bash FLASK_ENV=development SETTINGS_APP=server.dev.env mongodb-migrate --url mongodb://127.0.0.1:27017/XTC-Dev --migrations xtcryptosignals/server/migrations/ ``` ### Install from docker-compose Clone project repository: ```bash git clone https://github.com/pantunes/xtcryptosignals.git cd xtcryptosignals ``` Create multi-container Docker Applications: ```bash docker-compose up ``` ## Tasks ### Start service #### Development: ```bash SETTINGS_APP=server.dev.env xt-tasks # to test 1 tick SETTINGS_APP=server.dev.env xt-tasks --test ``` #### Production: ```bash SETTINGS_APP=server.prod.env xt-tasks --log-ticker-minimal ``` To get a list of supported exchanges: ```bash SETTINGS_APP=server.prod.env xt-tasks --list-config exchanges ``` ```bash binance binance_dex uphold okex idex switcheo hotbit bibox okcoin bithumb coinbene dcoin bitmax bilaxy bitstamp kucoin coinbase_pro ``` (Drop [me](mailto:pjmlantunes@gmail.com) an e-mail if you want support for a new exchange or please contribute to this project creating a pull request) Command line help: ```bash xt-tasks --help ``` ```bash Usage: xt-tasks [OPTIONS] Use this tool to start all or part of the tasks. Options: --test Process 1 iteration for all configured coins and/or tokens. (Useful for testing purposes) --list-config [exchanges|currencies] List 'exchanges' or 'currencies' (coins or tokens) per exchange that are currently supported. -t, --task [cfgi|project|tether|ticker|notifications|order_book] Task to be executed. If this parameter is omitted all tasks will be started -q, --queue TEXT Queue name to execute indicated tasks. --disable-ticker-messaging Disable ticker message broadcasting. --log-ticker-minimal Only log ticker errors and important warnings in stdout. --version Show version. -h, --help Show this message and exit. ``` ### Setup There is already an initial setup with some crypto-currencies (coins and tokens) that can be added or/and removed in [settings_exchanges.py](xtcryptosignals/settings_exchanges.py). ```python 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](xtcryptosignals/settings.py). ```python HISTORY_FREQUENCY = ( '10s', '30s', '1m', '10m', '30m', '1h', '2h', '3h', '4h', '12h', '1d', '4d', '1w', '2w', '4w', '12w', '24w', '1y', ) ``` ### Results The Ticker service is highly performant as can take advantage of multi-processing multi-core CPU. ### RESTFul Server API ### Start service #### Development: ```bash FLASK_ENV=development SETTINGS_APP=client.dev.env xt-server ``` Swagger API endpoints accessible at `http://127.0.0.1:5000/apidocs`: ![screen-shot](xtcryptosignals/client/static/imgs/readme/swagger.png) #### Production: ```bash FLASK_ENV=production SETTINGS_APP=client.prod.env xt-server ``` ## Website ### Start service #### Development: ```bash FLASK_ENV=development SETTINGS_APP=client.dev.env xt-client ``` #### Production: ```bash FLASK_ENV=production SETTINGS_APP=client.prod.env xt-client --num-workers=N ``` N corresponds to the number of workers to be spinned up. ## Run all services at once #### Embed command line: ```bash xt-all --help ``` ```bash Usage: xt-all [OPTIONS] [copy-config-files|start|stop|restart] Options: -h, --help Show this message and exit. ``` For Production enviroment `xt-all copy-config-files` should be executed on first place to copy default config files to the folder `/config`. The configuration should be reviewed and changed, before running `xt-all start` to start all 3 services: `xt-server`, `xt-client` and `xt-tasks`. #### Docker Compose: ```bash docker-compose up ``` ## Screenshots Open the browser with the URL `http://127.0.0.1:8000`: **Overview** | **Pairs** :-------------------------:|:-------------------------: ![screen-shot](xtcryptosignals/client/static/imgs/readme/1.png) | ![screen-shot](xtcryptosignals/client/static/imgs/readme/2.png) **Coins/Tokens** | **Dark Theme** ![screen-shot](xtcryptosignals/client/static/imgs/readme/3.png) | ![screen-shot](xtcryptosignals/client/static/imgs/readme/8.png) **Login** | **Portfolio** ![screen-shot](xtcryptosignals/client/static/imgs/readme/4.png) | ![screen-shot](xtcryptosignals/client/static/imgs/readme/5.png) **Alerts Setup** | **Web Push Notification** | ![screen-shot](xtcryptosignals/client/static/imgs/readme/6.png) | ![screen-shot](xtcryptosignals/client/static/imgs/readme/7.png) **Twitter Chart** | **Crypto Fear & Greed Index Chart** | ![screen-shot](xtcryptosignals/client/static/imgs/readme/12.png) | ![screen-shot](xtcryptosignals/client/static/imgs/readme/9.png) **Tether Chart** | **Coin / Token Chart** | ![screen-shot](xtcryptosignals/client/static/imgs/readme/10.png) | ![screen-shot](xtcryptosignals/client/static/imgs/readme/11.png) **Market Depth** | **Telegram Notifications** | ![screen-shot](xtcryptosignals/client/static/imgs/readme/13.png) | ![screen-shot](xtcryptosignals/client/static/imgs/readme/14.png) **Spotlight Search** | | ![screen-shot](xtcryptosignals/client/static/imgs/readme/15.png) | ## Example of added Feature Pull Request to show how easy is to [Add Kyber Network, Aave and Ren Projects/Tokens](https://github.com/pantunes/xtcryptosignals/commit/95e1ec9cda86e5b457343163068ad164f8df81aa). ## Disclaimer This project is work in progress and when it comes to trading use it at your own risk. ## License This project is licensed under the [GNU](https://www.gnu.org/licenses/gpl-3.0.en.html) License. ## Contact Through the website [xtcryptosignals.com](https://xtcryptosignals.com/ticker/tokens/10s#contact). ## Acknowledgments ![Jetbrains](xtcryptosignals/client/static/imgs/readme/jetbrains.png) Thanks to [Jetbrains](https://www.jetbrains.com/?from=xtcryptosignals) in order to support us with an Open Source license. ## Donation In case this project helped you in some way I'm accepting a small donation to keep this open-source project on-🔥 : - BTC: bc1qheg9zjhezsvnzywvnj9tunsj39llslqp33ekrs - ETH: 0x2e9B4409d40d2605361Ea1278B1514C74c66Eac3


نیازمندی

مقدار نام
==1.25.11 urllib3
==1.3.0 vine
==1.1.0 websocket-client
==9.1 websockets
==2.0.1 werkzeug
==0.36.2 wheel
==0.5.4 wikipedia-api
==2.3.3 wtforms
==2.6.1 amqp
==9.0.1 aniso8601
==3.6.3 apscheduler
==21.2.0 attrs
==21.3.1 autobahn
==20.2.0 automat
==3.2.0 bcrypt
==4.9.3 beautifulsoup4
==0.21.2 bidict
==3.6.4.0 billiard
==0.2.0 cachelib
==4.2.2 cachetools
==0.3 captcha
==4.4.6 celery
==2021.5.30 certifi
==1.14.5 cffi
==2.1.1 cfscrape
==3.0.4 chardet
==8.0.1 click
==5.0.2 configparser
==15.1.0 constantly
==3.4.7 cryptography
==1.0.0 dateparser
==1.16.0 dnspython
==9.3.2 environs
==0.26.0 eventlet
==0.9.5 flasgger
==2.0.1 flask
==0.5.0 flask-login
==0.3.9 flask-restful
==0.3.2 flask-session
==5.1.0 flask-socketio
==0.15.1 flask-wtf
==0.18.2 future
==1.1.0 greenlet
==20.1.0 gunicorn
==1.1.0 http-ece
==21.0.0 hyperlink
==2.10 idna
==4.6.0 importlib-metadata
==21.3.0 incremental
==2.0.1 itsdangerous
==3.0.1 jinja2
==3.2.0 jsonschema
==4.6.11 kombu
==2.0.1 markupsafe
==2.20.5 marshmallow
==0.1.1 millify
==0.8.4 mistune
==1.0.1 mongodb-migrations
==0.23.1 mongoengine
==1.6 monotonic
==0.10.0 pep517
==8.3.0 pillow
==6.2.0 pip-tools
==0.8.0 py-etherscan-api
==1.8.2 py-vapid
==0.4.8 pyasn1
==0.2.8 pyasn1-modules
==2.20 pycparser
==3.10.1 pycryptodome
==3.10.1 pymongo
==20.0.1 pyopenssl
==0.18.0 pyrsistent
==0.7.9 python-binance
==2.8.1 python-dateutil
==0.18.0 python-dotenv
==4.2.0 python-engineio
==2.1.2 python-kucoin
==5.3.0 python-socketio[client]
==13.6 python-telegram-bot
==2021.1 pytz
==1.13.0 pywebpush
==5.4.1 pyyaml
==3.5.3 redis
==2021.7.1 regex
==2.23.0 requests
==21.1.0 service-identity
==1.16.0 six
==2.2.1 soupsieve
==0.10.2 toml
==6.1 tornado
==21.2.0 twisted
==21.2.1 txaio
==3.10.0.0 typing-extensions
==2.1 tzlocal
==4.0.2 ujson
==3.5.0 zipp
==5.4.0 zope.interface


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl XTCryptoSignals-0.8.9:

    pip install XTCryptoSignals-0.8.9.whl


نصب پکیج tar.gz XTCryptoSignals-0.8.9:

    pip install XTCryptoSignals-0.8.9.tar.gz