Skip to content

dearvn/botsimple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Information

This package to build bot trading simple with thousand requests using rabbitmq, redis and docker

Installation to test on local not use docker

# Create an isolated Python virtual environment
pip3 install virtualenv
virtualenv ./virtualenv --python=$(which python3)

# Activate the virtualenv
# IMPORTANT: it needs to be activated every time before you run
. virtualenv/bin/activate

# Install Python requirements
pip install -r requirements.txt

# Install cointrol-*
pip install -e ./app

Run on server

# Build docker
docker pull rabbitmq:latest 
docker-compose build
docker-compose run

# Run api choose options, I will build cmnd in docker-compose later
# Use Api from django
docker exec -i -t botsimple_app_1  /bin/bash
python manage.py runserver 0.0.0.0:8000

#or
flask run

## Scale
# Can scale multi-dockers
docker-compose scale worker=5

About

This project use rabbitmq, redis, docker, python to integrate binance, tiingo, tradovate, iex, tdameritrade and others to build bot trading simplest with thousand requests

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors