Update rpc.py

This commit is contained in:
மனோஜ்குமார் பழனிச்சாமி 2022-04-05 16:41:42 +05:30
parent 9423d831f6
commit 95a4fc3b2a

View File

@ -562,7 +562,7 @@ class RPC:
def _rpc_balance(self, stake_currency: str, fiat_display_currency: str) -> Dict: def _rpc_balance(self, stake_currency: str, fiat_display_currency: str) -> Dict:
""" Returns current account balance per crypto """ """ Returns current account balance per crypto """
currencies = [] currencies: List[Dict] = []
total = 0.0 total = 0.0
try: try:
tickers = self._freqtrade.exchange.get_tickers(cached=True) tickers = self._freqtrade.exchange.get_tickers(cached=True)