Skip to main content

New endpoints and protective block logic

📢 Dear friends! 📢

Keeping you updated on the latest news about system changes!

✏ In this digest:

  • New protective mechanism designed to block clients when they make a lot of incorrect transactions
  • New endpoint for order mass cancel
  • New parameters in existing requests and responses
  • New instrument types in GraphQL API

And a few words about updates of the new documentation itself.

🔽 More details inside! 🔽


Protective mechanism

The Moscow Exchange may charge a bidder an additional fee and even temporarily block the bidder if a large number of erroneous transactions are executed.

To protect our clients, we have implemented a custom blocking mechanism that allows us to eliminate errors in sent requests before the exchange takes action.

More details in the corresponding article.


New order cancellation endpoing

All previously available order cancellation requests let you select only one order at a time, so canceling hundreds of orders meant that hundreds of requests had to be sent and processed. To change this situation, we added a new endpoint to the HTTP API that allows you to cancel all exchange or conditional orders at once:

More details in the interactive description.


New parameters in requests and responses

Requests for getting candlesticks got a new parameter instrumentGroup, allowing to specify a trading mode different from the basic one. Applies to endpoints:

The Market field containing the market section to which the specified instrument belongs has been added to the responses to requests for instrument information. Applies to endpoints:

More details in the interactive descriptions.


New instrument types in GraphQL API

To make getting data about swaps, currency pairs and unknown instruments more convenient, we have added new object types to the GraphQL API:

  • type Swap
  • type Currency
  • type UnknownInstrument

More details on how to use GraphQL API available in the corresponding article.


Docs news

We are still developing the new documentation presented in the last digest.

In the past little while, we've:

  • Added the Astras section where we describe the features of the namesake trading terminal. This is not only a convenient tool for trading, but also a good example of using API!
  • Introduced a number of small QoL improvements like search, designed to make documentation more comfortable.

And we're also excited to announce the release of new documentation!

Along with the documentation status change, the path to the documentation has also changed — it is now available at https://alor.dev/docs/.

If you still see the old documentation — try clearing browser cache with Ctrl+F5.


Feel free to contact us in any convenient way if you have any questions about the system:

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!