9 March 2024

  • Updated

API

Breaking changes

  • Renamed the session_bankrupcy field to session_bankruptcy in /public/get_last_settlements_by_* and /private/get_settlement_history_by_*.

  • /private/get_transaction_log will return the Invalid params exception when the count parameter is negative.

New

  • The currency parameter has been made optional for some methods. We also support the value any.

  • Affected methods

    • /public/get_instruments

    • /public/get_combos

    • /private/get_positions

  • Added subscription channel user.portfolio.any, which returns notifications for portfolios for all currencies.

  • Added new API method /private/get_account_summaries which returns all the account summaries for all currencies.

  • Added a new API method /private/get_open_orders that returns all open orders for all currencies.

FIX

Breaking changes

  • ⚠️ Changed scope for MMProtection Limits (MM) from account to trade

  • Clients are recommended to add the trade scope to current production keys before the release and remove the account scope after the release. Keys can be configured here.

Non-breaking changes

  • Subscriptions are now supported in Security Status Request (e).

    0 = Snapshot

    1 = Snapshot + Updates (Subscribe)

    2 = Unsubscribe

  • Security Status (f) has a new field Text with potential values success, subscribed and unsubscribed.

    success = Snapshot successfully provided

    subscribed = Subscription confirmed

    unsubscribed = Subscription cancelled

  • Please note that our system does not send notifications when currencies are locked. Users are advised to subscribe to the platform_state channel to monitor the state of currencies actively.