PROFILE_FIELD_ABSENT
What happened
This run needs a broker figure, such as a minimum stop distance or a margin rate, that is missing from the selected broker profile. Before a run starts, the engine settles every setting it depends on, and a setting that cannot be settled ends the run with this code without testing anything. The engine's own text is in detail.reason.
What to do
Add the missing figure to the broker profile and try again.
Example
json
{
"status": "failed",
"error": {
"code": "PROFILE_FIELD_ABSENT",
"message": "The engine refused this run's settings before it started.",
"detail": {}
}
}The reply also carries detail.reason, left out of this sample.