What is event data?
Events are generated when your clients use services such as registration, account opening, deposits and withdrawals, trading, etc. through the Tiger Open API.
Some events need to be processed promptly (e.g., trade order changes), while others serve only as notifications. You can decide how to use events depending on your platform's actual usage scenario.
How to get event data
We currently support two ways to receive event data.
- Push notifications
A notification address must be provided when registering client information.
If the HTTP status code returned by the notification service is 200, we consider the notification successful. Otherwise, we will retry up to three times.
If the notification service still does not return a 200 status code after three attempts, we consider the notification failed.
The current event will not be retried or notified again, but subsequent events will continue to be processed and delivered normally.
To avoid event loss, you can also pull historical events via the HTTP interface.
- Pulling events via the HTTP interface
Both HTTP short-polling and long-polling methods are supported for pulling events.