abstract class, defines interfaces for retrieving RiskInfo More...
#include <IRiskInfoHelper.h>
Public Member Functions | |
virtual bool | is_valid ()=0 |
virtual void | subscribe_account (IRiskInfoConsumer *, const std::string &account)=0 |
subscribe for account info updates | |
virtual void | subscribe_positions (IRiskInfoConsumer *, const std::string &account, const std::string &symbol="", const std::string &parent_sec_id="")=0 |
subscribe for position info updates, if symbol or parent_sec_id is empty then subscribing for all positions with specified account | |
virtual IAccount * | get_account (const std::string &account)=0 |
try to get current account info | |
virtual void | get_positions (const std::string &account, std::list< IPosition * > &)=0 |
try to get current position info |
abstract class, defines interfaces for retrieving RiskInfo