From 1c9f2b8c88a01def3ccd7a81a092d6490c9b3da7 Mon Sep 17 00:00:00 2001 From: kenorb Date: Tue, 3 Sep 2024 16:50:50 +0100 Subject: [PATCH] AccountForex: Implements missing virtual methods --- Exchange/Account/AccountForex.h | 52 +++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/Exchange/Account/AccountForex.h b/Exchange/Account/AccountForex.h index 3308c9fb8..66420b76a 100644 --- a/Exchange/Account/AccountForex.h +++ b/Exchange/Account/AccountForex.h @@ -57,4 +57,56 @@ class AccountForex : public Account { * 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; + } };