💸 Get Free Margin¶
Helper method: retrieves free margin (available funds for new positions).
API Information:
- Sugar method:
MT5Sugar.getFreeMargin() - Returns:
double- Free margin - Underlying:
MT5Service.getFreeMargin()
⬆️ Output¶
Returns: double - Free margin in account currency
Throws: ApiExceptionMT5 if request fails
🔗 Usage Example¶
See also¶
- Used margin:
getMargin()