Esempio n. 1
0
 public static decimal GetTotalCapital(this IMarginTradingAccount account)
 {
     return(account.Balance + account.GetUnrealizedDailyPnl() - account.GetFrozenMargin() +
            account.GetUnconfirmedMargin());
 }