martin_binance/lib.py
File lib.py
has 403 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
"""
martin-binance classes and methods definitions
"""
__author__ = "Jerry Fedorenko"
__copyright__ = "Copyright © 2021 Jerry Fedorenko aka VM"
Avoid too many return
statements within this function. Open
Open
return '30m'
Avoid too many return
statements within this function. Open
Open
return '1d'
Avoid too many return
statements within this function. Open
Open
return '12h'
Avoid too many return
statements within this function. Open
Open
return '6h'
Avoid too many return
statements within this function. Open
Open
return '1h'
Avoid too many return
statements within this function. Open
Open
return '1w' if 10080 <= m < 44640 else '1m'
Avoid too many return
statements within this function. Open
Open
return '2h'
Avoid too many return
statements within this function. Open
Open
return '4h'
Avoid too many return
statements within this function. Open
Open
return '8h'
Avoid too many return
statements within this function. Open
Open
return '3d'