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
httpxtoaiohttp
- Task manager
- From
multiprocessingtoasyncio
- Made importing position more friendly.
- Simplified semaphore implementation.
- Directories
Set process start method to spawn for Linux.
multiprocessingin 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.pyandrequirements.txt.
- Rolled back URLs.
- Updated
setup.pyandrequirements.txt.
- Minor bugs.
- More statistics and plots for the premium of futures.
First metastable release.
- Updated
setup.pyandrequirements.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_coroutineto callcoro(*args, **kwargs)in normal context andawait coro(*args, **kwargs)in async context. setup.py
- Proper
AsyncClientclosure. Semaphoreto avoid API speeding.
- Rewrote menu module.
- Optimized funding fee backtracking.
- Changed
multiprocessingin position monitor toasyncio.
websocketintegrated byAsyncGenerator.
- Overhauled with
asyncioand 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.