Commit Graph

326 Commits

Author SHA1 Message Date
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
e06d7d2767 chore(v5): update imports order to fix codestyle 2024-02-11 15:49:05 +01: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
7fcf4b0bf4 v3.9.0: feat() upgrade to node lts, feat() upgrade axios, jest and other dependencies, chore(): move some dependencies to optional 2024-01-25 14:42:39 +00: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
tiagosiebler
afc099f4ac feat(): slight improvement around ws teardown. feat(#305): implement safe terminate for browsers 2023-12-22 12:00:42 +00:00
tiagosiebler
923b1b02e0 feat(): safer websocket timer cleanup 2023-12-22 10:53:22 +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
27192d23e6 feat(): improve dynamic types for getTickers 2023-10-30 13:48:01 +00:00
tiagosiebler
a790fcaf04 feat(#251): add optional bapi rate limit parsing to REST clients 2023-10-30 13:47:40 +00:00
tiagosiebler
eb33084b7f chore(): fix jsdoc param 2023-10-30 12:48:42 +00:00
tiagosiebler
7460cf4b5c feat(): add deprecation warnings for v1/v2 REST clients 2023-10-30 12:22:04 +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
21ac313f38 chore(): route tests via proxy instead of github CI address 2023-08-18 16:21:13 +01: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
9013bf749d feat(): add new institutional lending endpoints 2023-06-09 15:05:09 +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
e2e1580cd5 Merge branch 'tiagosiebler:master' into feat/promise-on-ws-sub 2023-05-16 19:16:33 +02:00
tiagosiebler
a5aa7f6cf2 chore(): update tests for compatibility with new testing sub account 2023-05-16 14:48:20 +01:00
Caius Citiriga
4bf527bef8 using typeguards and removed useless logging 2023-05-10 20:48:02 +02:00
Caius Citiriga
75a97fc9d4 handling multiple subscriptions confirmations received at once 2023-05-09 04:02:13 +02:00
Caius Citiriga
4b854ddb39 #218 Returning a promise when subscribing to topics 2023-05-09 03:37:26 +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
Tiago
b399ec4497 Merge pull request #247 from Tindtily/master
Add syncTimeBeforePrivateRequests option
2023-04-25 15:18:17 +01:00
Morphling
6b1863c289 Add syncTimeBeforePrivateRequest option
Add syncTimeBeforePrivateRequest option to determines whether to perform time synchronization before sending private requests
2023-04-18 04:37:11 +08:00
tiagosiebler
fbd9235eb0 chore(): run trailing comma linter, disable noisy test while in discussion with bybit 2023-04-13 12:23:36 +01:00
tiagosiebler
3c9e063165 v3.5.6, feat(#249): add 10-per-event limiter to spot v5 subscriptions, enable trailing comma linting rule 2023-04-13 12:00:08 +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
985652bf9e fix(#240): remove another pointer mutation 2023-03-21 12:20:44 +00:00
tiagosiebler
802c02a553 fix(#240): fix sign error on parallel requests due to pointer mutation 2023-03-21 12:17:48 +00:00