Market Data Service is a high-performance financial data API that provides comprehensive Symbol prices of different markets through both RESTful endpoints and real-time WebSocket connections.
// RETRY SETTINGS
input int MaxRetries = 3; // Number of send attempts
input int InitialDelayMs = 1000; // First retry delay (milliseconds)
// API SETTINGS
input string ApiBaseUrl = "http://localhost:3000";
input string ApiKey = "";
Retry Sequence
Permanent Failures
After exhausting retries:
Print("Permanent failure: ", result, " - ", error);
// TODO: Implement dead letter queue storage
Critical Errors
All numeric values use MT5's double type (15-digit precision) mapped to:
```javascript
// API expects DECIMAL(18,15)
Joi.number().precision(15)