All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
Refactor and update deps.
- async_okx_v5 git submodule
- Miscellanies
- Event-driven asynchronous timers
- From
httpx
toaiohttp
- Task manager
- From
multiprocessing
toasyncio
- Made importing position more friendly.
- Simplified semaphore implementation.
- Directories
Set process start method to spawn
for Linux.
multiprocessing
in Linux
OKx has limits on large spot market order, which makes the hedge fail sometimes.
- Replaced market order with limit order.
- Limit order price when fok order fails.
- Semaphore to be used with REST API across processes.
First quasi-stable release.
- Unified API velocity control.
- Premium distribution plot at close.
- A custom semaphore to be used with REST API with velocity limit.
- Additional annotations.
- Exception handling.
- Translated error codes.
- Improved robustness.
- Improved output format.
- Duplicate code.
- Minor change to client.
- Updated
setup.py
andrequirements.txt
.
- Rolled back URLs.
- Updated
setup.py
andrequirements.txt
.
- Minor bugs.
- More statistics and plots for the premium of futures.
First metastable release.
- Updated
setup.py
andrequirements.txt
. - Rewrote client APIs and updated URLs.
- Removed redundant client connections by class attributes.
- Cleaned up syntax.
- Order size precision control.
- Methods to abort program safely.
- Assertions to avoid boundary conditions.
- An experimental function.
- Optimized leverage control by distinguishing between actual leverage and notional leverage on the exchange.
- Corrected margin calculation.
- Simplified syntax using f-strings, ternary operator, walrus operator and list comprehension.
- Debug and timing decorator
@debug_timer
. - Decorator
@call_coroutine
to callcoro(*args, **kwargs)
in normal context andawait coro(*args, **kwargs)
in async context. setup.py
- Proper
AsyncClient
closure. Semaphore
to avoid API speeding.
- Rewrote menu module.
- Optimized funding fee backtracking.
- Changed
multiprocessing
in position monitor toasyncio
.
websocket
integrated byAsyncGenerator
.
- Overhauled with
asyncio
and parallelized Web IOs.
- Asyncio implementation.
- HTTP/2.
__await__
attribute to initiate class instances asynchronously.
- Multithreading.
- V3 APIs.
- Control flow.
- Bilingual support with
gettext
.
- Position opening, closing and monitoring.
- MongoDB integration.
- Funding rate statistics.
- API exceptions handling.
- Command line interface.
- Funding rates processing.