Skip to content

Commit

Permalink
Merge pull request ccxt#402 from carlosmiei/fix-scientific-notation
Browse files Browse the repository at this point in the history
Ftx :: fix format_scientific_notation_ftx
  • Loading branch information
kroitor authored Aug 17, 2022
2 parents f7c2031 + 0d1c847 commit 5e95928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ccxtpro/base/exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def find_timeframe(self, timeframe, timeframes=None):
return key
return None

def formatScientificNotationFTX(self, n):
def format_scientific_notation_ftx(self, n):
if n == 0:
return '0e-00'
return format(n, 'g')
Expand Down

0 comments on commit 5e95928

Please sign in to comment.