Commit Graph

400 Commits

Author SHA1 Message Date
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
tiagosiebler
cc3048b7ad fix(#100): linear getClosedPnl 2021-06-13 21:09:46 +01:00
tiagosiebler
c57583fe6d 2.0.5: add missing inverse position mode endpoints 2021-06-12 22:54:47 +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
308a2b69f8 update comment 2021-03-06 18:10:04 +00:00
tiagosiebler
f181f9ac61 Add missing parameter type 2021-03-06 17:38:06 +00:00
tiagosiebler
693d8b33a2 v2.0.3: add support for inverse futures 2021-03-06 17:37:54 +00:00
tiagosiebler
b6a17dcffe cleaning unnecessary optionals 2021-03-06 17:17:13 +00:00
tiagosiebler
63f3de9670 replace deprecated method in sample 2021-02-22 11:15:02 +00:00
Blake Johnson
66d7120fa3 package json update version and also fix same bug on linear client 2021-02-18 17:10:59 -06:00
Blake Johnson
96427fac99 change when you initialize the requestwrapper to pass along the restInverseOptions to getBaseUrl currently the ability to pass your own baseUrl is not working 2021-02-18 16:08:50 -06:00