Commit Graph

410 Commits

Author SHA1 Message Date
tiagosiebler
2d0366a708 remove silly logger from ws by default. Expand spot and linear types 2022-08-18 17:04:53 +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
dac46b64fb fix(#155): remove abandoned endpoints 2022-06-30 16:32:56 +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
f0088f32c2 run linter 2022-05-12 01:23:49 +01:00
codefactor-io
1a6b4cc269 [CodeFactor] Apply fixes 2022-05-12 00:19:44 +00:00
tiagosiebler
d1cb97176a cleaning, fix and add spot post tests 2022-05-12 00:48:23 +01:00
tiagosiebler
326caac96a cleaning around api response types 2022-05-11 23:58:53 +01:00
tiagosiebler
a89cb5148e deprecate request wrapper completely 2022-05-11 18:13:16 +01:00
tiagosiebler
61c278c318 expand test coverage to linear endpoints 2022-05-11 18:12:44 +01:00
tiagosiebler
07ec505407 inverse futures write tests 2022-05-10 13:32:37 +01:00
tiagosiebler
c6758b65cc remove dead inverse method, add write tests, update read tests, add error enums used by tests 2022-05-10 13:22:28 +01:00
tiagosiebler
c94b4d16ff small clean 2022-05-08 01:09:04 +01:00
tiagosiebler
38f5a6286c fixes for private spot GET calls, improve signing process, add private read tests for spot & linear 2022-05-08 01:00:12 +01:00
tiagosiebler
7840829454 fix linear request type, fix linear request method, add private read tests 2022-05-07 23:35:24 +01:00
tiagosiebler
72ce693d24 move test to private 2022-05-07 22:23:58 +01:00
tiagosiebler
d11fbfa227 add coverage for inverse futures private getter endpoints, migrate private getter methods to base class 2022-05-06 22:06:32 +01:00
tiagosiebler
749efad303 add tests for private query endpoints 2022-05-05 23:53:28 +01:00
tiagosiebler
4ba36374cc remove requestWrapper from remaining public getter methods 2022-05-05 23:42:14 +01:00
tiagosiebler
f4e41331db placeholder private test. Deprecate requestWrapper public getters 2022-05-05 23:39:47 +01:00
tiagosiebler
44fb95ae80 expand spot public tests, fix broken trades and server time endpoints 2022-05-05 23:21:27 +01:00
tiagosiebler
a7aaedac41 bootstrap public spot test 2022-05-05 22:45:38 +01:00
tiagosiebler
0b8bed8faf migrate linear public methods + expand tests 2022-05-05 22:09:45 +01:00
tiagosiebler
784555cf9f cleaned public inverse futures endpoints & expanded tests 2022-05-05 21:46:58 +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
81b8a34522 v2.1.10: feat(#144): add missing endpoint for linear position mode. Type improvements & linting. 2022-04-06 10:57:56 +01:00
Tiago
370e43bf59 Update src/linear-client.ts 2022-03-17 19:33:37 +00:00
kaitsu
ab8936b543 reduce_only, close_on_trigger and position_idx are required parameters 2022-02-02 14:17:24 +01:00
Pranay Pratyush
995d6cd567 Update ReplaceActiveOrder for InverseClient 2022-01-14 13:25:20 +05:30
tiagosiebler
352f58e09a clear pong timer for any incoming data 2021-12-31 00:45:50 +00:00
tiagosiebler
5cd4ab2c36 improve types for request parameters 2021-12-31 00:45:30 +00:00
tiagosiebler
543ace9cde export types from index 2021-12-31 00:45:02 +00:00
Pranay Pratyush
fa7d7e0cec Added API key info to inverse client
Other APIs have duplicate implementation so adding just to inverse client
2021-12-29 18:24:43 +05:30
keith
b22e3fbc84 fix: pass http.Agent through connect 2021-11-04 11:09:54 -07:00
Pranay Pratyush
e6717857cc Fix bool to strings 2021-10-30 11:58:13 +05:30
Pranay Pratyush
ce950b3a5c Added trigger_by params for inverse client 2021-10-27 19:59:31 +05:30
Tiago
dffb8f7efe Merge pull request #117 from tiagosiebler/liqsendpoint
Remove deprecated get liquidations REST endpoint
2021-10-08 17:09:33 +01:00
Tiago
c8a856ae11 Merge pull request #114 from jeffminsungkim/inverse-client/missing-param
add missing optional param for set leverage method
2021-10-08 17:09:18 +01:00
Tiago
0276b0e707 Merge pull request #111 from EricCrosson/master
doc: fix typo
2021-10-08 10:31:24 +09:00
tiagosiebler
a810bc8c59 remove deprecated REST endpoint 2021-10-06 19:33:48 +01:00
TatLead
9f2421ee2a Fix spot-client.ts getCandles function 2021-10-06 05:05:34 +08: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
tiagosiebler
bbdf6edad9 cleaning and expand public api tests 2021-06-24 00:41:21 +01:00
tiagosiebler
f8fcb83628 feat(#3): implement initial public API tests 2021-06-24 00:26:52 +01:00