Commit Graph

59 Commits

Author SHA1 Message Date
tiagosiebler
a19200d311 doc updates for ws client 2022-09-28 10:19:02 +01:00
tiagosiebler
1f19306477 batch subscribe for spot v3 2022-09-28 10:11:29 +01:00
tiagosiebler
7fa82e099a expose ws store 2022-09-28 09:55:48 +01:00
tiagosiebler
d3fa937cdf refactor tests for new constructor pattern 2022-09-19 23:48:35 +01:00
tiagosiebler
2d221aac14 error event from ws client 2022-09-19 00:13:11 +01:00
tiagosiebler
08674ab2fa fix error log when reconnect cycle fails 2022-09-17 11:05:20 +01:00
tiagosiebler
4ccaf853b6 cleaning around reconnect workflow 2022-09-17 10:56:39 +01:00
tiagosiebler
2766a17fe8 fix bug with mixing topics and wskeys 2022-09-16 19:39:33 +01:00
tiagosiebler
350ed53a65 unified margin support for ws 2022-09-16 17:06:27 +01:00
tiagosiebler
d16dee8caa usdc private test 2022-09-16 14:09:01 +01:00
tiagosiebler
f5232605a1 fixes 2022-09-16 13:26:29 +01:00
tiagosiebler
9b673f08d5 public usdc perp ws test 2022-09-16 13:25:25 +01:00
tiagosiebler
d2ba5d3e01 usdc options public ws test 2022-09-16 13:13:49 +01:00
tiagosiebler
2ada7eb664 ws test stability fixes 2022-09-16 00:43:57 +01:00
tiagosiebler
7902430a17 spot v3 ws support with tests 2022-09-16 00:16:44 +01:00
tiagosiebler
f61e79934d cleaning around tests 2022-09-15 19:06:35 +01:00
tiagosiebler
1b422a1beb add basic ws connectivity tests 2022-09-15 14:11:17 +01:00
tiagosiebler
3f5039ef8b cleaning around websocket client 2022-09-15 12:20:39 +01:00
tiagosiebler
0e05a8d0ef tidying ws client 2022-09-14 23:55:24 +01:00
tiagosiebler
d1ed7971ad v2.4.0-beta.1. remove circleci, cleaning in ws client 2022-09-14 23:12:44 +01:00
tiagosiebler
a1c0887417 copy trading API 2022-09-09 15:26:47 +01:00
tiagosiebler
43c1f91b50 v2.3.0: fix(#158), disable time sync by default. Optionally avoid hitting time API when connecting authenticated websocket. 2022-07-12 11:32:17 +01:00
tiagosiebler
18977499f8 v2.2.1: fix ws & rest authentication issues caused by time-sync mechanism 2022-05-28 20:39:37 +01:00
tiagosiebler
51aa7ae1f5 - Returned type improvements.
- Start migrating to base rest client.
- Remove deprecated methods.
- Run linter.
- Deprecate shared endpoints for readibility. All methods are replicated within each client (there's not much duplication).
- Expand test coverage for public inverse endpoints.
2022-05-05 21:25:28 +01:00
tiagosiebler
352f58e09a clear pong timer for any incoming data 2021-12-31 00:45:50 +00:00
keith
b22e3fbc84 fix: pass http.Agent through connect 2021-11-04 11:09:54 -07:00
tiagosiebler
72c7630a29 feat(#99): introduce spot REST client 2021-08-15 12:12:10 +01:00
tiagosiebler
10ac2ec384 expand spot public socket support 2021-08-15 11:11:33 +01:00
tiagosiebler
572bd19abd v2.1.0: deprecate boolean props for websocket market. Expand types. Implement spot ws ping/pong 2021-08-15 10:50:10 +01:00
tiagosiebler
eb1520126a expose connectPrivate() util method for spot 2021-08-14 19:54:49 +01:00
tiagosiebler
4d7886ff72 add spot websocket client (#99) 2021-08-13 17:28:31 +01:00
tiagosiebler
e81b35b025 fix(#106): reversed endpoints 2021-08-13 17:01:37 +01:00
tiagosiebler
af4193832f fix(#89): fix unsubscribe logic when connected & harden types 2021-07-01 23:46:37 +01:00
Stefan Aebischer
082633a5ca reduce browser bundle size
reduces browser bundle size by ~612k or ~92%.
2021-05-15 19:34:32 +02:00
tiagosiebler
5e91c78bbf address codefactor suggestion 2021-02-14 17:13:38 +00:00
tiagosiebler
62750228c4 move script commands around. Move shared endpoint down. Add event annotations to ws client. 2021-02-14 16:13:35 +00:00
tiagosiebler
e0ee0d3c89 cleaning 2021-02-07 17:01:05 +00:00
tiagosiebler
4ee7de3774 cleaning logger types 2021-02-07 16:53:32 +00:00
tiagosiebler
eb5f8333c1 clean linear websocket work 2021-02-07 16:41:42 +00:00
tiagosiebler
e76e6f3c40 flatten connectall 2021-02-07 11:32:35 +00:00
tiagosiebler
2b112b9879 implement linear websockets 2021-02-06 23:54:45 +00:00
tiagosiebler
eac3d6bf06 fix pong timeout 2021-02-06 17:05:41 +00:00
tiagosiebler
a07ea48d1a move timers to keyed store 2021-02-06 17:01:30 +00:00
tiagosiebler
39a86f1f06 cleaning & param keys 2021-02-06 16:52:39 +00:00
tiagosiebler
dd7a4a899b move topics to store 2021-02-06 16:48:04 +00:00
tiagosiebler
d81381d7ec move wsstate to store 2021-02-06 16:47:38 +00:00
tiagosiebler
0038daf531 move websocket to ws store 2021-02-01 23:25:39 +00:00
tiagosiebler
9b62bae369 move ws state tracking to store 2021-02-01 22:33:11 +00:00
tiagosiebler
65448609df cleaning & checked with inverse 2021-01-31 12:33:44 +00:00
tiagosiebler
4822c5b6d3 cleaning and prep for multi-connection ws client 2021-01-30 18:38:21 +00:00