Skip to content

CCXT based algorithmic trading framework for Bybit and other CCXT supported exchanges

License

Notifications You must be signed in to change notification settings

artplan1/directionalscalper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Directional Scalper Multi Exchange

An algorithmic trading framework built using CCXT for multiple exchanges

GitHub Pipenv locked Python version License: MIT Code style: black

Visitor Count

GitHub Stats

Directional Scalper documentation

Documentation

Links

Directional Scalper API Scraper Dashboard Directional Scalper Multi Menu GUI

Docker

To run the bot inside docker container use the following command:

docker-compose run directional-scalper python3.11 bot.py --symbol SUIUSDT --strategy bybit_hedge_mfirsi_maker --config config_main.json

Proxy

If you need to use a proxy to access the Exchange API, you can set the environment variables as shown in the following example:

$ export HTTP_PROXY="http://10.10.1.10:3128"  # these proxies won't work for you, they are here for example
$ export HTTPS_PROXY="http://10.10.1.10:1080"

Setting up Telegram alerts (not used currently)

  1. Get token from botfather after creating new bot, send a message to your new bot
  2. Go to https://api.telegram.org/bot<bot_token>/getUpdates
  3. Replacing <bot_token> with your token from the botfather after creating new bot
  4. Look for chat id and copy the chat id into config.json

Developer instructions

  • Install developer requirements from pipenv pipenv install --dev (to keep requirements in a virtual environment)
  • Install pre-commit hooks pre-commit install (if you intend to commit code to the repo)
  • Run pytest pytest -vv (if you have written any tests to make sure the code works as expected)

To do:

  • A lot of top secret cutting edge stuff
  • Huobi, Binance, Phemex, MEXC base. (MEXC Futs API down until Q4)

About

CCXT based algorithmic trading framework for Bybit and other CCXT supported exchanges

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%