Abstract class, represents risk account info from external Risk Management Service. More...
#include <IRiskInfoHelper.h>
Public Types | |
enum | AccountStatus { ac_st_non_active = 0, ac_st_active = 1 << 0, ac_st_liquidation_only = 1 << 1 } |
Public Member Functions | |
virtual const char * | name () const =0 |
account id | |
virtual const char * | currency () const =0 |
account currency | |
virtual AccountStatus | status () const =0 |
account status | |
virtual double | realized_pnl () const =0 |
realized profit and loss | |
virtual double | unrealized_pnl () const =0 |
unrealized profit and loss | |
virtual double | balance () const =0 |
account balance | |
virtual double | net_asset_value () const =0 |
account's net asset value | |
virtual double | unused_margin () const =0 |
unused(available) margin | |
virtual double | used_margin () const =0 |
used margin | |
virtual double | total_value () const =0 |
total account's positions value | |
virtual const char * | risk_profile_id () const =0 |
risk calculation profile for account | |
virtual double | settl_realized_profit_loss () const =0 |
settlement realized profit loss | |
virtual double | settl_unrealized_profit_loss () const =0 |
settlement unrealized profit loss | |
virtual const char * | exchange_acct () const =0 |
Exchange account ID. | |
virtual const char * | display_name () const =0 |
Display name is used by Front Ends to show accounts info. |
Abstract class, represents risk account info from external Risk Management Service.