Skip to content

Commit

Permalink
Merge pull request bmoscon#730 from Drakkar-Software/bybit/sandbox-en…
Browse files Browse the repository at this point in the history
…dpoints

[Bybit] Add sandbox endpoints
  • Loading branch information
bmoscon authored Dec 5, 2021
2 parents e13bf07 + 96e069c commit e5e9dd4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cryptofeed/exchanges/bybit.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ class Bybit(Feed):
'USDT': 'wss://stream.bybit.com/realtime_public',
'USDTP': 'wss://stream.bybit.com/realtime_private'
}
sandbox_endpoint = {
'USD': 'wss://stream-testnet.bybit.com/realtime',
'USDT': 'wss://stream-testnet.bybit.com/realtime_public',
'USDTP': 'wss://stream-testnet.bybit.com/realtime_private'
}
websocket_channels = {
L2_BOOK: 'orderBook_200.100ms',
TRADES: 'trade',
Expand Down

0 comments on commit e5e9dd4

Please sign in to comment.