refactoring - moved hosts to constants.py

This commit is contained in:
itsdeka
2022-08-27 17:09:00 +02:00
parent b2460450c6
commit 17646f9980
3 changed files with 7 additions and 6 deletions

4
bfxapi/constants.py Normal file
View File

@@ -0,0 +1,4 @@
REST_HOST = 'https://api.bitfinex.com/v2'
WS_HOST = 'wss://api.bitfinex.com/ws/2'
PUB_REST_HOST = 'https://api-pub.bitfinex.com/v2'
PUB_WS_HOST = 'wss://api-pub.bitfinex.com/ws/2'