Skip to content

Commit

Permalink
lbank - websockets (ccxt#15185)
Browse files Browse the repository at this point in the history
* lbank

* fix call handle

* rename

* update PR

* add pro badge

* add ping,pong logic, error handling and fetchWs functions

* use market['symbol'] instead

* fix key reading

* add comment

* several parseOrder fixes

* more tweaks

* adjust

* skip lbank

* restore

* remove blank

* fix python linting

* fix trade cost

* fix orderbook limit

* read bool inside authenticate

* turn handlePing async

---------

Co-authored-by: carlosmiei <[email protected]>
  • Loading branch information
pcriadoperez and carlosmiei authored Jan 19, 2024
1 parent 76073b7 commit a82da53
Show file tree
Hide file tree
Showing 3 changed files with 904 additions and 0 deletions.
1 change: 1 addition & 0 deletions skip-tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -1209,6 +1209,7 @@
}
},
"lbank": {
"skipWs": true,
"skipMethods": {
"loadMarkets": "settle must be defined when contract is true",
"fetchTickers": {
Expand Down
1 change: 1 addition & 0 deletions ts/src/lbank.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default class lbank extends Exchange {
// 50 per second for making and cancelling orders 1000ms / 50 = 20
// 20 per second for all other requests, cost = 50 / 20 = 2.5
'rateLimit': 20,
'pro': true,
'has': {
'CORS': false,
'spot': true,
Expand Down
Loading

0 comments on commit a82da53

Please sign in to comment.