Skip to content

Commit

Permalink
AccountForex: Implements missing virtual methods
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Sep 3, 2024
1 parent 6c796cf commit 1c9f2b8
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions Exchange/Account/AccountForex.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,56 @@ class AccountForex : public Account<AccountForexState, AccountForexEntry> {
* Class deconstructor.
*/
~AccountForex() {}


/* Implementation of virtual methods */

/**
* Returns balance value of the current account.
*/
float GetBalance() {
return 0.0f;
}

/**
* Returns credit value of the current account.
*/
float GetCredit() {
return 0.0f;
}

/**
* Returns profit value of the current account.
*/
float GetProfit() {
return 0.0f;
}

/**
* Returns equity value of the current account.
*/
float GetEquity() {
return 0.0f;
}

/**
* Returns margin value of the current account.
*/
float GetMarginUsed() {
return 0.0f;
}

/**
* Returns free margin value of the current account.
*/
float GetMarginFree() {
return 0.0f;
}

/**
* Get account available margin.
*/
float GetMarginAvail() {
return 0.0f;
}
};

0 comments on commit 1c9f2b8

Please sign in to comment.