trader  v0.1a
A framework to build trading applications
Public Member Functions | List of all members
trader::Api Class Referenceabstract
Inheritance diagram for trader::Api:
Inheritance graph
[legend]

Public Member Functions

virtual ~Api ()
 Finalizes an instance of the API class. More...
 
virtual Poco::Dynamic::Var invoke (const std::string &httpMethod, Poco::URI &uri)=0
 Executes the given operation on a different thread, and waits for the result. More...
 
virtual void setParams (const std::string &)
 Sets the parameters. More...
 

Constructor & Destructor Documentation

◆ ~Api()

virtual trader::Api::~Api ( )
inlinevirtual

Finalizes an instance of the API class.

Member Function Documentation

◆ invoke()

virtual Poco::Dynamic::Var trader::Api::invoke ( const std::string &  httpMethod,
Poco::URI &  uri 
)
pure virtual

Executes the given operation on a different thread, and waits for the result.

Parameters
httpMethodThe HTTP method.
uri[in,out] URI of the document.
Returns
A Poco::Dynamic::Var.

Implemented in trader::Cryptowatch, trader::Kraken, trader::Exchangeratelab, trader::Bittrex, and trader::Fyb.

◆ setParams()

virtual void trader::Api::setParams ( const std::string &  )
inlinevirtual

Sets the parameters.

Parameters
parameter1The first parameter.

Reimplemented in trader::Bittrex, and trader::Fyb.


The documentation for this class was generated from the following file: