Class: Dtn::Streaming::Requests::Quote::Unwatch
- Inherits:
-
Dtn::Streaming::Request
- Object
- Dtn::Streaming::Request
- Dtn::Streaming::Requests::Quote::Unwatch
- Defined in:
- lib/dtn/streaming/requests/quote/unwatch.rb
Overview
Stop watching a symbol.
:param symbol: A valid symbol for a security or derivative.
IQFeed.exe will send stop sending updates for this security. This unwatches trades watches and trades and quotes watches. This also stops all regional quote updates for this security.
Instance Method Summary collapse
Methods inherited from Dtn::Streaming::Request
Constructor Details
This class inherits a constructor from Dtn::Streaming::Request
Instance Method Details
#call(symbol:) ⇒ Object
15 16 17 |
# File 'lib/dtn/streaming/requests/quote/unwatch.rb', line 15 def call(symbol:) socket.puts "r#{symbol.upcase}\r\n" end |