DEV Community

Discussion on: How to build a crypto bot with Python 3 and the Binance API (part 1)

Collapse
 
blahdeblah profile image
blahdeBlah

binance.py has this...
.
.
.
from binance.client import Client
.
.
.
self.client = Client(self.apiKey, self.apiSecret)
.
.
.

Can you please explain where this Client object comes from? It appears to be self-referential, but I don't understand how that can be.

Collapse
 
blahdeblah profile image
blahdeBlah

nm I think I got it. It's an imbiguously-named reference to a Binance API component.