- run
sudo vim /etc/host - add
127.0.0.1 stocktrack.com
- bundle install
- bundle exec rake db:create db:migrate
- yarn install
- bundle exec rails s
- Navigate to
http://stocktrack.com:3000
- docs https://sorbet.org/docs/overview
- init
srb init - run
srb tc
- client = IEX::Api::Client.new
- client.quote('SPY')
- client.company('SPY')
- client.logo('SPY')
- client.news('SPY')
- client.chart('SPY')
- client.key_stats('SPY')
- client.dividends('SPY', '6m')
- client.earnings('MSFT')
- client.crypto('BTCUSDT')