Class: Dtn::Streaming::Requests::Admin::RegisterClientApp

Inherits:
Dtn::Streaming::Request show all
Defined in:
lib/dtn/streaming/requests/admin/register_client_app.rb

Overview

Register your application with IQFeed.

:param product: Developer/Product token from DTN.

IQFeed requires all developers to get a developer/app token from them before you develop using IQFeed. You can register you developer token either using the command line used to start IQFeed or here. IQFeed will not connect to DTN servers or send you any data without a developer token.

Instance Method Summary collapse

Methods inherited from Dtn::Streaming::Request

#initialize

Constructor Details

This class inherits a constructor from Dtn::Streaming::Request

Instance Method Details

#call(product:) ⇒ Object



17
18
19
# File 'lib/dtn/streaming/requests/admin/register_client_app.rb', line 17

def call(product:)
  socket.puts "S,REGISTER CLIENT APP,#{product}\r\n"
end