Class: Dtn::Streaming::Requests::Quote::Timestamp
- Inherits:
-
Dtn::Streaming::Request
- Object
- Dtn::Streaming::Request
- Dtn::Streaming::Requests::Quote::Timestamp
- Defined in:
- lib/dtn/streaming/requests/quote/timestamp.rb
Overview
Ask IQFeed.exe to send you a single timestamp message The timestamp message sent by IQFeed.exe is in addition to the messages normally. By default IQFeed.exe sends a timestamp message every second, but you can turn off and turn back on those messages. You probably only want to use this if you have turned off the once a second timestamp messages.
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 ⇒ Object
14 15 16 |
# File 'lib/dtn/streaming/requests/quote/timestamp.rb', line 14 def call(**) socket.puts "T\r\n" end |