Interface Account


public interface 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

      List<Trade> getTrades()
      Gets the list of executed orders for this account.
      Returns:
      list of executions for this strategy
    • getTrades

      List<Trade> getTrades(Instrument instrument)
      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