API Error

img
img
img
img
shape
shape

The SS API Bridge connects with Broker API for functionality such as order placement, order management and trade management. Some of the SS API Bridge features may not function, or malfunction, based on the Broker API. API errors can be seen under the Error tab for easy management and resolution.


Refer below list of communication between SS API Bridge and API:

  • Login & Authentication

    Your login credentials are not read/processed by SS API Bridge. Usually, the Broker API invokes account login form in browser. If the login fails for any reason, you will receive a Troubleshoot pop-up with API Specific details.
    After login, the API allows to communicate during a “session”. This session automatically expires at the end of trading day. This effectively means you need to login every day to “start session”. The session may also expire if you login to API from another device.

  • Order Placement

    Order Placement is the most critical part. Every broker has their own specific limits w.r.t. order placement such as: margin limit, price band limit, trading symbol limit, time limits etc. The API may give error if order is placed with wrong parameters. You can see rejection reason under OrderHistory and the error in in Message window.

  • Get Order Status

    NetPositions (and Signal Rules) can malfunction if proper Order Status is not received from API. For example, if there is no information whether the order was completed or not, the Net Position cannot be updated. To resolve this error, you can check the Error tab for technical details to report to your broker.

  • Order Cancellation

    Order Cancellation based on Signal Rules will not work if proper status is not returned by API. To resolve this error, you can check the Error tab for technical details to report to your broker.

  • Get Unrealized MTM

    MaxProfit and MaxLoss based on Symbol setting will not work if Unrealized MTM is not received from API. To resolve this error, you can check the Error tab for technical details to report to your broker.

Top