Skip to content

Oanda trading platform user interface to interact with the user account and trading strategies.

License

Notifications You must be signed in to change notification settings

kobusjoubert/oanda_trader

Repository files navigation

OandaTrader

This is a UI to be able to interact with the user account and Oanda Worker strategies.

oanda_trader_ui

Usage

Development

Start the service

bin/rails s

Start the workers

WORKERS=StrategyActivityJob,StrategyWarningJob,StrategyProgressJob,StrategyUpdateJob bundle exec rake sneakers:run

Backtesting

Start the service

RAILS_ENV=backtest bin/rails s --pid `pwd`/tmp/pids/server_backtest.pid

Start the workers

RAILS_ENV=backtest WORKERS=StrategyActivityJob,StrategyWarningJob,StrategyProgressJob,StrategyUpdateJob bundle exec rake sneakers:run

Developer Setup

Create the database

bin/rails db:create
RAILS_ENV=backtest bin/rails db:create

Migrate the database

bin/rails db:migrate
RAILS_ENV=backtest bin/rails db:migrate

Setup the database with the required authenticated users

bin/rails db:seed
RAILS_ENV=backtest bin/rails db:seed

About

Oanda trading platform user interface to interact with the user account and trading strategies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published