Skip to content

Commit ce78fd7

Browse files
committed
Add type to get last price: last price or bid/ask
1 parent 5715829 commit ce78fd7

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

Include/BadRobot.Framework/Account.mqh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ class Account
1919
_tradeMode = (ENUM_ACCOUNT_TRADE_MODE)AccountInfoInteger(ACCOUNT_TRADE_MODE);
2020
_marginMode = (ENUM_ACCOUNT_MARGIN_MODE)AccountInfoInteger(ACCOUNT_MARGIN_MODE);
2121
}
22+
23+
~Account(){
24+
25+
}
26+
2227

2328
bool IsReal(){
2429
return _tradeMode == ACCOUNT_TRADE_MODE_REAL;
914 Bytes
Binary file not shown.
730 Bytes
Binary file not shown.

Include/BadRobot.Framework/Logger.mqh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ class Logger
3737

3838
}
3939

40+
~Logger(){
41+
42+
}
43+
4044
Logger(const Logger& other){
4145
this = other;
4246
}

0 commit comments

Comments
 (0)