Implementation of The Alpha Engine: Automated Trading Algorithm. See algorithm's description in the paper: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2951348
This software uses demo API of OANDA API: http://developer.oanda.com/rest-live-v20/introduction/
The TradingBot uses demo access to OANDA API. For using it you should open an account on https://oanda.com and create access token on the Manage API Access page here: https://www.oanda.com/demo-account/tpa/personal_token
After that is done you need to put the token into src/OandaApi/OandaAuth.cs
file.
- Execute
dotnet restore
- Execute
dotnet run
Demo mode will be started: It will obtain an accountId
for provided token, then it will print account details including balance.
Finally, it will open price stream for EUR_USD
instrument and starts to print prices and The Alpha Engine intrinsic time events: Overshoot
or Directional change
. See the paper for details.
After two minutes the demo is over and program will automatically stop.
- Clone the repo to /TradingBot directory
- Go to that directory and execute
dotnet restore
command to restore dependencies - Execute
dotnet build -c release
command to build project - Execute
dotnet publish -c release -o app
command to createapp
folder with all project's files - Execute
docker build --tag tradingbot
command to build docker image namedtradingbot
- Execute
docker run tradingbot
for run container from the image