Async client

Lime client has async support for all methods. Just instantiate AsyncLimeClient instead of LimeClient and use it same as you would use LimeClient

Instantiate client:

1 from lime_trader import AsyncLimeClient
2
3 client = AsyncLimeClient.from_file("credentials.json")

Example for getting account balances:

 1 import asyncio
 2 import pprint
 3
 4 from lime_trader import AsyncLimeClient
 5
 6
 7 async def main():
 8     client = AsyncLimeClient.from_file(file_path="credentials.json")
 9     balances = await client.account.get_balances()
10     pprint.pprint(balances)
11
12
13 asyncio.run(main())