The result is based on ratio of number of commits and code additions from initial and final time ranges.
Initial time range – from 5 Jul, 2023 to 5 Oct, 2023
Final time range – from 5 Apr, 2024 to 5 Jul, 2024
Additions and deletions stats are not available for this repository due to GitHub API limitations.
The GitHub repository named Crypto-toolbox/btfxwss belongs to a project named btfxwss, short for Bitfinex Websocket API Client.
It is a Python client that was designed to communicate with the API provided by the Bitfinex cryptocurrency exchange. It can be used to establish authenticated connections to the Bitfinex API, as well as to parse communication dealing with account info, orders, and trades.
The repository's content is released under the MIT license.
Here is an example of its general usage:
import logging
import time
import btfxwss
log = logging.getLogger(__name__)
fh = logging.FileHandler('test.log')
fh.setLevel(logging.DEBUG)
sh = logging.StreamHandler(sys.stdout)
sh.setLevel(logging.DEBUG)
log.addHandler(sh)
log.addHandler(fh)
logging.basicConfig(level=logging.DEBUG, handlers=[fh, sh])
wss = btfxwss.BtfxWss(key=api_key, secret=api_secret)
wss.start()
while not wss.conn.connected.is_set():
time.sleep(1)
# Subscribe to some channels
wss.subscribe_to_ticker('BTCUSD')
wss.subscribe_to_order_book('BTCUSD')
# Do something else
t = time.time()
while time.time() - t < 10:
pass
# Accessing data stored in BtfxWss:
ticker_q = wss.tickers('BTCUSD') # returns a Queue object for the pair.
while True:
print(ticker_q.get())
However, it's necessary to note that the current repository is not actively maintained, hence it could lack some updates from the Bitfinex platform itself or may have some vulnerabilities.
Contributor | Commits |
---|---|
13 | |
4 | |
3 | |
2 | |
1 |