kobusjoubert / oanda_trader

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:Ruby 68.9%Language:SCSS 14.6%Language:Haml 12.7%Language:JavaScript 2.5%Language:HTML 1.3%Language:Shell 0.1%Language:Procfile 0.0%