Added multiple StopOrder endpoints (create/get/getAll/cancel/cancelAll) to Bybit API.
Additionally fixed some API models.
Don't wonder that size was changed from int to double. Even though the number of contracts should be an integer, Bybit still returns a number like 100.0, which fails on deserialization to int.
Added multiple StopOrder endpoints (create/get/getAll/cancel/cancelAll) to Bybit API.
Additionally fixed some API models.
Don't wonder that size was changed from int to double. Even though the number of contracts should be an integer, Bybit still returns a number like 100.0, which fails on deserialization to int.