contek-io / io.contek.invoker

MIT License
39 stars 26 forks source link

Bybit: Add StopOrder #45

Closed Cypher01 closed 2 years ago

Cypher01 commented 2 years ago

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.

Cypher01 commented 2 years ago

Unfortunately this PR hasn't been approved/merged for several months.