Asynchronous Scripting

If you're new to asynchronous programming, it is highly recommend you familiarize yourself with the core concepts and work through some simple examples.

Within Python, the asyncio library is utilized to enable asynchronous processing.

Asynchronous functions

To enable maximum flexibility, almost all of the SDK functions have been written asynchronously.

Asynchronous programming allows you to check for updates or place orders concurrently on multiple markets at the same time.

If you would prefer to work with a simpler Python script to start out, you can simply create a single loop and place 'await' in front of all called asynchronous functions and methods.

The key difference being that you will need to establish an 'asyncio' function which will need to be explicitly called.


More information on support for websockets coming soon.

Last updated