MngCreatePropProgram¶
Creates a prop trading program.
demo_group must point to an existing trading group. Trading conditions, available symbols, leverage and initial challenge balance are expected to come from that group.
This method saves the full program aggregate. The request can include nested steps.
Access¶
SESSION_MANAGER, SESSION_ADMIN, SESSION_DEALER, SESSION_CRM_MANAGER, SESSION_CRM_ADMIN.
Request Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
brand |
string | Yes | Brand namespace |
name |
string | Yes | Program name |
demo_group |
string | Yes | Trading group for DEMO challenge accounts |
price |
double | Yes | Purchase price |
price_currency |
string | Yes | Purchase currency |
description |
string | No | Program description |
status |
int | No | 0 active, 1 disabled, 2 archived. Default 0 |
sort_index |
int | No | UI ordering value |
steps |
array | No | Program steps/phases to create together with the program |
Step Item¶
| Name | Type | Required | Description |
|---|---|---|---|
phase_index |
int | Yes | Phase order starting from 1 |
name |
string | Yes | Step/phase name |
duration_days |
int | No | Phase duration |
max_daily_loss_pct |
double | No | Maximum daily loss percent |
max_total_loss_pct |
double | No | Maximum total loss percent |
profit_target_pct |
double | No | Profit target percent |
min_trading_days |
int | No | Minimum trading days |
max_trading_days |
int | No | Maximum trading days |
max_positions |
int | No | Maximum open positions |
Request¶
{
"command": "MngCreatePropProgram",
"extID": "1",
"data": {
"brand": "default",
"name": "Evaluation 100K",
"description": "Two phase evaluation",
"demo_group": "PROP_DEMO_USD",
"price": 499.0,
"price_currency": "USD",
"status": 0,
"sort_index": 100,
"steps": [
{
"phase_index": 1,
"name": "Evaluation",
"duration_days": 30,
"max_daily_loss_pct": 5,
"max_total_loss_pct": 10,
"profit_target_pct": 8,
"min_trading_days": 5,
"max_trading_days": 30,
"max_positions": 10
}
]
}
}
Response Data¶
{
"program": {
"id": 1,
"brand": "default",
"name": "Evaluation 100K",
"description": "Two phase evaluation",
"demo_group": "PROP_DEMO_USD",
"price": 499.0,
"price_currency": "USD",
"status": 0,
"sort_index": 100,
"created_time": 1778160000,
"updated_time": 1778160000
},
"steps": [
{
"id": 1,
"program_id": 1,
"phase_index": 1,
"name": "Evaluation",
"duration_days": 30,
"max_daily_loss_pct": 5,
"max_total_loss_pct": 10,
"profit_target_pct": 8,
"min_trading_days": 5,
"max_trading_days": 30,
"max_positions": 10,
"created_time": 1778160000,
"updated_time": 1778160000
}
]
}