Commit Graph

617 Commits

Author SHA1 Message Date
tiagosiebler
1c14595fd6 feat: expose request options in REST constructor. Fix readme links. 2020-10-08 22:05:22 +01:00
Tiago
df576407b4 Merge pull request #15 from tiagosiebler/feat/axios
Replace deprecated `request` with `axios`
2020-10-08 08:48:14 +01:00
tiagosiebler
af6a6e647b fix: ws handle possible timeout 2020-10-05 21:15:10 +01:00
tiagosiebler
0717a122c1 feat: use global request options for global settings pass-thru (timeout, proxy, any other custom settings as desired) 2020-10-05 10:26:36 +01:00
tiagosiebler
3df54c341c fix request case 2020-10-05 10:12:22 +01:00
tiagosiebler
69cdd921e2 feat: trim extensions 2020-10-04 20:41:02 +01:00
tiagosiebler
1b556afeb3 fix: linting 2020-10-04 20:37:42 +01:00
tiagosiebler
3a2125e77b feat: deprecate request and implement axios. bump ws. cleaning. expose request options for proxy support. resolves #12. resolves #4. 2020-10-04 19:37:26 +01:00
tiagosiebler
b201d364bf feat: start work on axios integration, deprecating request. 2020-10-04 14:22:59 +01:00
Tiago
327007b307 Merge pull request #14 from DimensionSoftware/v1.1.9
v1.1.9: add new REST endpoints
2020-09-17 09:05:31 +01:00
John BEPPU
f978b1cff5 v1.1.9: add new REST endpoints
https://bybit-exchange.github.io/docs/inverse/#2020-08-19
getOpenInterest
getLatestBigDeal
getLongShortRatio

https://bybit-exchange.github.io/docs/inverse/#2020-07-07
getAssetExchangeRecords
2020-09-16 21:50:02 -07:00
Tiago
84166e9b2a Merge pull request #13 from DimensionSoftware/new-rest-endpoints
New REST endpoints
2020-09-15 09:00:12 +01:00
John BEPPU
d1391a42aa Add .jshintrc
This should make text editors and linters complain less.
2020-09-14 20:56:38 -07:00
John BEPPU
c22a27779a Add new REST endpoints
https://bybit-exchange.github.io/docs/inverse/#2020-08-19
getOpenInterest
getLatestBigDeal
getLongShortRatio

https://bybit-exchange.github.io/docs/inverse/#2020-07-07
getAssetExchangeRecords
2020-09-14 20:54:15 -07:00
Tiago
5d5c069d8e Merge pull request #11 from tiagosiebler/v1.1.8
v1.1.8 - fix conditioanl method typo, implement fetch liquidations en…
2020-08-12 23:02:27 +01:00
tiagosiebler
61baf1235b v1.1.8 - fix conditioanl method typo, implement fetch liquidations endpoint, implement replace conditional endpoint. 2020-08-12 23:01:30 +01:00
Tiago
f9781dba8c Merge pull request #10 from DimensionSoftware/replace-conditional-order
Implement replaceConditionalOrder
2020-08-12 22:59:43 +01:00
John BEPPU
ce301bd4c9 Implement replaceConditionalOrder
This lets unexecuted stop orders be edited.
https://bybit-exchange.github.io/docs/inverse/#t-replacecond
2020-08-12 12:21:48 -07:00
Tiago
c659423108 Merge pull request #8 from DimensionSoftware/6.fix-typo
Fix typo: Conditioanl
2020-08-12 19:12:47 +01:00
John BEPPU
995a6405ef Fix typo: Conditioanl
s/Conditioanl/Conditional/; #6
2020-08-12 10:59:34 -07:00
Tiago
8128fce356 Merge pull request #7 from tiagosiebler/liqendpoint
v1.1.7: add get public liquidations endpoint
2020-08-12 00:35:26 +01:00
tiagosiebler
f7029cf795 method name 2020-08-12 00:32:14 +01:00
tiagosiebler
e28a41bf07 v1.1.7: add get public liquidations endpoint 2020-08-12 00:27:52 +01:00
TS
7d9ce80b64 repo url 2020-07-21 11:33:15 +01:00
Tiago
71bbce4941 Merge pull request #2 from tiagosiebler/v1.1.6
Fix JSON typo
2020-07-21 11:30:28 +01:00
TS
6dbe66809f json typo 2020-07-21 11:30:06 +01:00
Tiago
ab3d9e884d Merge pull request #1 from tiagosiebler/v1.1.6
1.1.6, add github action for publish, update readme, add snippets for orderbook usage
2020-07-21 11:28:49 +01:00
TS
ddc2bd8f78 1.1.6, add github action for publish, update readme, add snippets for orderbook usage 2020-07-21 11:28:05 +01:00
Tiago
a1da0d617b Merge pull request #1 from tiagosiebler/rest/exceptions
REST promise should reject if HTTP status error is seen
2020-06-26 20:20:42 +01:00
tiagosiebler
ccbba6dd38 approach to fixing #12 2020-06-17 12:05:31 +01:00
tiagosiebler
8a3ee76ba4 1.1.6 2020-06-17 11:04:21 +01:00
tiagosiebler
e70d811654 fix prefixes 2020-06-17 10:56:18 +01:00
tiagosiebler
165faac7f4 find endpoint typo 2020-06-17 10:54:55 +01:00
tiagosiebler
2f130931ff spacing & fix prefixed endpoints 2020-06-17 10:54:37 +01:00
Stefan Aebischer
49e829fcac 1.1.5 2020-04-20 14:12:00 +02:00
Tiago
336170faa5 Add missing getKline API. Fixes #8. (#9)
Co-authored-by: tiagosiebler <ts@github.com>
2020-04-20 14:10:02 +02:00
Stefan Aebischer
7618336df9 1.1.4 2020-04-09 15:31:48 +02:00
Tiago
3f5624dd06 Add support for recv_window parameter and custom options for REST client (#7)
* remove unused/unexisting method. Add missing semi-colon. Add support for recvWindow parameter, optional, with default value. Add support for custom sync time interval.

* add new params to rest client constructor

* add recv and sync as options object, optional, with updated docs

* cleaning

* whitespace

* allow override via params

* param consistency

Co-authored-by: tiagosiebler <ts@github.com>
2020-04-09 15:28:18 +02:00
Stefan Aebischer
f4ef361816 Update links to new bybit api docs 2020-02-17 21:59:06 -05:00
Stefan Aebischer
6464f83608 1.1.3 2020-02-12 10:47:02 -05:00
Stefan Aebischer
e519c368e5 Add new endpoint getWalletBalance
See: https://github.com/bybit-exchange/bybit-official-api-docs/blob/master/en/CHANGELOG.md#2020-02-10
2020-02-12 10:45:53 -05:00
Stefan Aebischer
6fd3d34a47 1.1.2 2020-02-01 20:25:27 -05:00
Stefan Aebischer
90ae9984a4 Add reconnect and reconnected events to ws 2020-02-01 20:24:54 -05:00
Stefan Aebischer
4cb36631ea 1.1.1 2020-01-20 22:34:55 -05:00
Stefan Aebischer
7ae88dec0e Allow symbol as parameter for getTradeRecords 2020-01-20 22:34:18 -05:00
Stefan Aebischer
1b73064aa9 Adds required parameter symbol to cancelActiveOrder 2020-01-20 22:20:55 -05:00
Stefan Aebischer
4fb1d963e2 Fixes error in documentation 2020-01-20 22:20:24 -05:00
Stefan Aebischer
470415056e Fix getPosition
* Re adds the v1 endpoint as `getPositions`
* Fixes params for v2 endpoint `getPosition`

Resolves: #5
2020-01-20 22:19:25 -05:00
Stefan Aebischer
d33fef4823 1.1.0 2020-01-17 21:47:35 -05:00
Stefan Aebischer
ac8ed45ef5 Change getOrderTradeRecords to getTradeRecords 2020-01-17 21:45:05 -05:00