Trading-app is a full-stack app to trade forex markets using the FXCM api.
The application offers the following features:
- Import list of market instruments FOREX, INDEX, COMMODITIES and STOCKS.
- Get historical rates for any day since 1999.
- Trading view Widget integration
- Breakout Strategy
- Email notifications
- Position size calculation
-
fxcm.cfg
[FXCM] log_level = error log_file = 'log.txt' access_token = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' -
database.ini
[postgresql] database = tradingapp user = postgres password = xxxxxxxxxxxxxxxxxxxxxxxxxxxxx host = 127.0.0.1 port = 5432 -
Install dependences
sudo apt-get update sudo apt install python3-pip sudo apt-get install gunicorn sudo apt update pip install -r requirements.txt py db_create.py py db_populate_instruments.py py db_populate_prices.py gunicorn -w 1 -k uvicorn.workers.UvicornWorker main:app
- FXCMAPI
- OANDAAPI (in development)
- ALPACAAPI (in development)
- Python 3.8
- PostgreSQL
- FastAPI
- Semantic UI
- Jinja2
- backtrader
- boto3
- Amazon EC2
- Amazon Relational Database Service RDS
This application is configured to be deployed at Amazon Elastic Compute Cloud (EC2)