Skip to content

Commit

Permalink
update bfx ws endpoint (#1048)
Browse files Browse the repository at this point in the history
  • Loading branch information
hathehuyen authored Aug 28, 2024
1 parent d83355d commit c33caf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cryptofeed/exchanges/bitfinex.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
class Bitfinex(Feed, BitfinexRestMixin):
id = BITFINEX

websocket_endpoints = [WebsocketEndpoint('wss://api.bitfinex.com/ws/2', limit=25)]
websocket_endpoints = [WebsocketEndpoint('wss://api-pub.bitfinex.com/ws/2', limit=20)]
rest_endpoints = [RestEndpoint('https://api-pub.bitfinex.com', routes=Routes(['/v2/conf/pub:list:pair:exchange', '/v2/conf/pub:list:currency', '/v2/conf/pub:list:pair:futures']))]
websocket_channels = {
L3_BOOK: 'book-R0-{}-{}',
Expand Down

0 comments on commit c33caf7

Please sign in to comment.