Select Page

When you Login to API, it creates a “session” with your Broker. After login, all request made to broker API- such as order placement, net positions etc. are made using “session token”.

Once a session is created, its maintained for entire day.

If you see an error message like Token Expired, user_target not logged in, or status not returned, your session has likely expired. This is a broker specific issue, so you will need to find out about your broker API. Some brokers allow login to only one platform at a time. If you login to the web/mobile platform while you are also logged-in with APIBridge, you may face this issue. Or, the session may expire because you logged in from another device.

To solve this issue close APIBridge, go to APIBridge root folder, then Data folder, then delete cache.alg. Now you can login fresh and reconnect with API.