An open API service indexing awesome lists of open source software.

https://github.com/avtorgenii/trading-buddy

Minimalistic web-client for BingX crypto exchange Peprpetual Futures trading.
https://github.com/avtorgenii/trading-buddy

cryptocurrency docker fastapi sqlalchemy

Last synced: about 2 months ago
JSON representation

Minimalistic web-client for BingX crypto exchange Peprpetual Futures trading.

Awesome Lists containing this project

README

          

# Trading-Buddy

Trading-Buddy is a minimalistic web-client for BingX crypto exchange Peprpetual Futures trading that allows for automatic:
- Posistion size calculation based on data for available deposit, risk(%) and available margin on your futures account
- Limit/take-profit/stop-loss orders placement and cancelation
- Track of your trades in Trade Journal

Read ```RULES_OF_USAGE.txt``` before using Trading-Buddy

# .env setup
- Create ```.env``` file in root directory of project and fill it out:
```
API_KEY=""
SECRET_KEY=""
PORT=
SITE_URL="http://"
```

# Local launching
After setting up .env file, head to ```main.py``` and run it, web-app will be available at ```127.0.0.1:``` in your browser

# Deploy to VPS
Trading-Buddy comes with complete Dockerfile that should be used to build your image and deployed to VPS, personally I am using https://digitalocean.com to host web-app.
I am not providing a link to Image on dockerhub, as for now it requires IP address of VM to be able to send requests to itself from backend, so the image and ```.env``` file should be created by you

Use
```docker build -t /trading-buddy:1.0 .```
in project root folder to build image

And
```docker push /trading-buddy:1.0```
to push image to dockerhub

Then setup VPS on Digital Ocean according to this video: https://www.youtube.com/watch?v=8fi4NvaZpFc&list=WL&index=52

Pull image from dockerhub: ```docker pull /trading-buddy:1.0```

And run by ```docker run -p : --name trading-buddy /trading-buddy:1.0```

Enter ```:``` in browser and enjoy!

# iPhone
Frontend of web-app has a configured ```site.webmanifest``` file that makes saved on homescreen site look like an IOS app, definitely check it out