Exchange account¶
An exchange account is directly link to an Exchange
. First, you must retrieve the Exchange
of your choice. To have the full list of available exchanges:
Get the exchange¶
For the remainder of this guide, we will assume that the BINANCE exchange is in your database.
from django_napse.core.models import Exchange
binance_exchange = Exchange.objects.get(name = "BINANCE")