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.
- Host: GitHub
- URL: https://github.com/avtorgenii/trading-buddy
- Owner: avtorgenii
- Created: 2024-06-09T10:56:54.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-02T17:13:11.000Z (over 1 year ago)
- Last Synced: 2025-04-02T07:12:12.272Z (about 1 year ago)
- Topics: cryptocurrency, docker, fastapi, sqlalchemy
- Language: Python
- Homepage:
- Size: 14.9 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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