simulator/simulation.cpp
// "equity" is the sum of current balance + profit/loss of open trades
"equity" is the sum of current balance + profit/loss of open trades
" equity " is the sum of current balance + profit / loss of open trades
float Simulation::get_equity() {
	float value = get_balance();
	for(auto trade: m_open_trades) {
		value += trade->profit();
	}
	return value;
}
float Simulation :: get_equity ( ) { float value = get_balance ( ) ; for ( auto trade : m_open_trades ) { value += trade -> profit ( ) ; } return value ; }
"equity" is the sum of current balance + profit/loss of open trades
" equity " is the sum of current balance + profit / loss of open trades