Class Fsxtrader::Application
In: lib/fsxtrader/application.rb
Parent: Object

Methods

edit   go   help   new   run   setup  

Public Class methods

Initializes a new Fsxtrader::Application object.

Note: this should always get called via a Singleton in the main Fsxtrader module as such: Fsxtrader.application.run

Public Instance methods

Edit the fsx trader config file (using the system editor)

Runs the main FSX Trader application

  • loads config file and checks for trade triggers
  • pulls down any applicable stock quotes
  • makes trades if any trade conditions have been met

Displays the help text

Main FSX Trader Application entry point.

  • Parses command-line options and calls methods accordingly

Creates the default config file in: ~/fsx_config.yml

[Validate]