-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Sometimes when I call Tradier::Client#quote, I see the following:
2017-03-01 02:24:09.863 -0500 /home/stockbot/stockbot/vendor/bundle/ruby/2.3.0/gems/tradier-0.5.6/lib/tradier/api/utils/base.rb:37:in `block in nested_response_body'
/home/stockbot/stockbot/vendor/bundle/ruby/2.3.0/gems/tradier-0.5.6/lib/tradier/api/utils/base.rb:36:in `each'
/home/stockbot/stockbot/vendor/bundle/ruby/2.3.0/gems/tradier-0.5.6/lib/tradier/api/utils/base.rb:36:in `nested_response_body'
/home/stockbot/stockbot/vendor/bundle/ruby/2.3.0/gems/tradier-0.5.6/lib/tradier/api/utils/base.rb:20:in `nested_array'
/home/stockbot/stockbot/vendor/bundle/ruby/2.3.0/gems/tradier-0.5.6/lib/tradier/api/utils/quote.rb:9:in `body'
/home/stockbot/stockbot/vendor/bundle/ruby/2.3.0/gems/tradier-0.5.6/lib/tradier/api/markets.rb:17:in `quotes'
/home/stockbot/stockbot/simple_tradier_client.rb:25:in `get_last_price'
stopper2.rb:130:in `get_last_price'
stopper2.rb:52:in `do_stop'
stopper2.rb:39:in `block in run_once'
stopper2.rb:38:in `each'
stopper2.rb:38:in `run_once'
stopper2.rb:21:in `block in run'
stopper2.rb:20:in `loop'
stopper2.rb:20:in `run'
stopper2.rb:145:in `<main>'
undefined method `[]' for nil:NilClass
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels