Interface Account
public interface Account
-
Method Summary
Modifier and TypeMethodDescriptionGets the symbol for the base currency.double
Gets the current cash balance for the account.getId()
getName()
Gets the list of executed orders for this account.getTrades
(Instrument instrument) Gets the list of executed trades for the given instrument for this account.
-
Method Details
-
getId
String getId() -
getName
String getName() -
getCashBalance
double getCashBalance()Gets the current cash balance for the account.- Returns:
- current cash balance for the account
-
getTrades
Gets the list of executed orders for this account.- Returns:
- list of executions for this strategy
-
getTrades
Gets the list of executed trades for the given instrument for this account.- Parameters:
instrument
-- Returns:
- list of executed trades for this account and instrument
-
getBaseCurrency
String getBaseCurrency()Gets the symbol for the base currency.- Returns:
- base currency
-