Fixing errors
📢 Dear friends! 📢
Keeping you updated on the latest changes!
✏ In this digest:
- Removed
instrumentGroupfield from some WS subscriptions - Updated response for the Risk Rates request
- Fixed several incorrect descriptions
And a small change for the Changelog section button.
🔽 More details inside! 🔽
Removing instrumentGroup from some WS subscriptions
Some WebSocket subscription pages contained the instrumentGroup parameter in their request body added by mistake. The good news is that this typo did not affect the processing of those requests. The bad news is that the presence of instrumentGroup in the description created a false idea about the possible system features.
This documentation update removes the presence of instrumentGroup from the request body descriptions where it was superfluous.
Applied to requests
WebSocket subscriptions
Incorrect description fixes
Unrealised profit or loss
Fixed incorrect descriptions of fields displaying unrealized profit or loss on position:
unrealisedPl / up
unrealisedPl / upBefore | Total profit or total loss for the day in the settlement currency |
|---|---|
After | Aggregate unrealized profit or loss on open positions in settlement currency. Reflects the difference between the position opening and current prices |
dailyUnrealisedPl / upd
dailyUnrealisedPl / updBefore | Total profit or total loss for the day in percent |
|---|---|
After | Daily unrealized profit or loss on open positions in settlement currency. Shows the difference between the position price at the beginning of the current trading session and its current price |
Applied to requests
HTTP
WebSocket subscriptions
Order execution condition attheclose
Description of the attheclose option has been supplemented with information on its behavior and scope of use:
timeInForce / tf
timeInForce / tfBefore |
|
|---|---|
After |
|
Applied to requests
HTTP
/md/v2/Clients/{exchange}/{portfolio}/orders/md/v2/Clients/{exchange}/{portfolio}/orders/{orderId}/md/v2/Clients/{exchange}/{portfolio}/stoporders/md/v2/Clients/{exchange}/{portfolio}/stoporders/{orderId}/commandapi/warptrans/TRADE/v2/client/orders/actions/limit/commandapi/warptrans/TRADE/v2/client/orders/actions/market/commandapi/warptrans/TRADE/v2/client/orders/actions/market/{orderId}/commandapi/warptrans/TRADE/v2/client/orders/actions/stopLimit/commandapi/warptrans/TRADE/v2/client/orders/actions/stopLimit/{stopOrderId}
Deprecated HTTP
WebSocket subscriptions
WebSocket commands
The corresponding tables on the description pages for the different types of applications have been updated to match the changes in the parameter description.
Updated response for Risk Rates request
The response to the Risk Rates request has been updated in two ways:
- The
isDirectfield (boolean) has been replaced with a new fieldsngR(int32), which serves the same purpose but uses different possible values. Complete description for this field is available at the request description page. - The fields
CreatedAt,UpdatedAt, andUpdatedByhave been completely removed from the response. These were intended for internal use only and were mistakenly exposed in the public API.
We recommend updating your software to avoid response processing errors.
Changelog button changes
Some users were confused by the "Changes" button previously located on the right side of the screen — it looked similar to the "Developer's Cabinet" button and visually merged with it. At their request, the button has been replaced with a simple link and moved to the left side of the navigation panel, among other documentation portal section links.
Feel free to contact us in any convenient way if you have any questions about the system:
- 📧 Email support@alor.ru
- 🗃 Personal account
- ☎ Phone: 8 800 775-11-99, +7 495 980-24-98
If you have ideas for further system development, feel free to send them to us via the Feedback portal.
Thanks for helping us make the system better!