Commit Graph

100 Commits

Author SHA1 Message Date
Brent de Jong
1314ca33cd Updated V5 InstrumentInfo types
Missing attributes have been added according to the documentation

`postOnlyMaxOrderQty` should be removed from `LinearInverseInstrumentInfoV5` as this has been replaced by `maxOrderQty`.
2024-03-27 18:30:25 +01:00
tiagosiebler
76d7059f68 v3.9.7: feat(#324) add new account order v5 properties 2024-03-11 10:28:28 +00:00
tiagosiebler
50d8993ca2 v3.9.6: feat(#322) add nextPageCursor type via generic 2024-03-04 11:28:17 +00:00
William
93a6457a1a Add marketUnit optional property to OrderParamsV5 interface
This commit introduces a new optional `marketUnit` property to the `OrderParamsV5` interface, allowing the specification of 'baseCoin' or 'quoteCoin'.
2024-02-19 14:27:03 +01:00
tiagosiebler
1bf357b5cf v3.9.2: fix(#315) orderbook level type 2024-02-13 10:15:55 +00:00
Thijmen Maus
120f9edb24 fix(type): change from number to string to align with API docs 2024-02-11 15:30:29 +01:00
Thijmen Maus
304d960567 feat(user): add methods to delete submember 2024-02-11 15:25:34 +01:00
tiagosiebler
9ba44d9477 v3.8.2: feat(#310) add set collateral coin endpoints 2024-01-25 10:44:24 +00:00
tiagosiebler
9cb22d192e v3.8.1: feat() add type guard and type for ws orderbook events 2024-01-17 11:41:36 +00:00
tiagosiebler
2ba50f82e6 feat(#307): add new create sub parameters 2024-01-03 15:39:19 +00:00
Tiago
955b7550ce Merge branch 'master' into docsupdate 2023-12-11 09:32:29 +00:00
tiagosiebler
e0db4edddb v3.7.7: minor docs improvements. support for recvWindow for ws client 2023-12-11 09:29:59 +00:00
t0chk
9c12826175 type fixing
- add StopOrder  to OrderFilterV5
https://bybit-exchange.github.io/docs/v5/order/cancel-order#request-parameters

- add isMaster to api info

- version ++ :)
2023-12-10 07:18:09 +03:00
Caius Citiriga
0b8f20c75e chore(websockets): removed unused imports 2023-11-16 16:58:54 +01:00
Caius Citiriga
e7bd4e52b3 feat(events): refactored interfaces in separate file 2023-11-16 16:57:31 +01:00
Caius Citiriga
a93b45a6b2 feat(account-order): adds WSAccountOrderEventV5 & WSAccountOrderV5 interfaces 2023-11-15 18:30:34 +01:00
tiagosiebler
6b19c6503b v3.7.6: feat() update batch order types & categories 2023-11-02 15:59:33 +00:00
tiagosiebler
08919f78ac v3.7.5: fix() optional properties in AccountOrderV5 response interface 2023-11-01 09:58:54 +00:00
tiagosiebler
a790fcaf04 feat(#251): add optional bapi rate limit parsing to REST clients 2023-10-30 13:47:40 +00:00
Thijmen Maus
42ade6d6dd remove unused variable 2023-09-12 11:31:32 +02:00
Thijmen Maus
2fb2b7cc40 make method generic and add mapping 2023-09-12 11:25:43 +02:00
tiagosiebler
9bc1ff89c6 v3.7.2: fix() response type for v5 open interest endpoint 2023-08-18 15:17:49 +01:00
tiagosiebler
2d31bda1d7 v3.7.1: chore() naming consistency for interface, pass through logger for ws url getter 2023-06-27 11:13:54 +01:00
tiagosiebler
2327dcc7ec feat(#261): add missing tpsl req/response types 2023-06-09 15:25:41 +01:00
tiagosiebler
987b3f81d0 feat(): add new v5 user endpoints. add user examples. 2023-06-09 14:21:36 +01:00
tiagosiebler
6dbbecb9a5 feat(): add samples for account endpoints. Breaking change: getFeeRate takes an object 2023-06-09 10:33:00 +01:00
tiagosiebler
1577764392 feat(#261): add new pre-upgrade endpoints 2023-06-08 10:52:18 +01:00
tiagosiebler
05d63839da feat(#261): add tpsl params missing from position endpoints. add new endpoint for add/reduce margin. add doc examples 2023-06-07 16:56:36 +01:00
tiagosiebler
4f563a65a5 feat(): add/update missing v5 market endpoints. add api doc examples for each endpoint. 2023-06-07 12:13:25 +01:00
tiagosiebler
15d5ae00cf feat(#261): run linter & add some missing v5 trade endpoint parameters 2023-06-07 11:40:48 +01:00
Caius Citiriga
4bf527bef8 using typeguards and removed useless logging 2023-05-10 20:48:02 +02:00
tiagosiebler
70adfd646a v3.5.8: feat() easier env-controlled HTTP traces. Add missing properties for asset v5 types. 2023-05-01 12:11:09 +01:00
tiagosiebler
f43b731b62 v3.5.5: fix() add missing wallet balance response type properties 2023-04-02 10:45:01 +01:00
Sang Nguyen
b0ecabd08d Support triggerPrice in ContractModifyOrderRequest 2023-03-25 03:59:12 +07:00
tiagosiebler
dff34b6a46 v3.5.2: feat() add missing v5 internal deposit records endpoint. fix(#233) return type for v5 wallet balance endpoint, fix(#232) timestamp resolution for v5 fetch time endpoint 2023-03-03 16:02:44 +00:00
tiagosiebler
0a1cc4ed2b v3.5.1: feat() add support for V5 public & private websockets 2023-02-24 15:59:05 +00:00
tiagosiebler
caf205fe33 v3.5.0: release v5 rest client for bybit APIs 2023-02-23 12:15:47 +00:00
tiagosiebler
00a45e4cd0 fix spot leverage token endpoint v5 2023-02-21 13:30:25 +00:00
tiagosiebler
eeb0d63f0d add e2e tests for v5 REST client. Fix competing tests. 2023-02-20 16:19:56 +00:00
Tiago
adf7961480 Merge branch 'master' into v5rest 2023-02-18 17:26:36 +00:00
tiagosiebler
caa23be70c v3.4.2: fix() missing property from linear client set trading stop method 2023-02-18 17:19:05 +00:00
tiagosiebler
8e54ecbaf5 fix linter configuration & jest type dependency 2023-02-17 13:51:40 +00:00
Tiago
eeb7e2b9d3 Merge branch 'master' into v5rest 2023-02-17 12:19:58 +00:00
tiagosiebler
19f785b624 more tidying on v5 example and request type 2023-02-17 12:18:56 +00:00
tiagosiebler
6a4e7c09ed fixing and tidying v5 request and response types 2023-02-17 12:16:01 +00:00
tiagosiebler
6d9e73bdda add v5 leverage token and spot margin endpoints 2023-02-17 11:09:26 +00:00
tiagosiebler
d4add6d964 add v5 user rest endpoints 2023-02-16 15:30:01 +00:00
tiagosiebler
e312491968 add v5 asset rest endpoints 2023-02-16 13:46:46 +00:00
tiagosiebler
60a7aa0d9e add v5 account rest endpoints 2023-02-16 12:57:49 +00:00
tiagosiebler
71c6c9b6a5 add position v5 rest apis 2023-02-16 12:25:25 +00:00