2017-11-18 07:52:28 +00:00
|
|
|
""" FreqTrade bot """
|
2020-01-31 19:17:53 +00:00
|
|
|
__version__ = '2020.01'
|
2019-08-28 05:05:48 +00:00
|
|
|
|
|
|
|
if __version__ == 'develop':
|
|
|
|
|
|
|
|
try:
|
|
|
|
import subprocess
|
2019-09-09 18:18:47 +00:00
|
|
|
__version__ = 'develop-' + subprocess.check_output(
|
|
|
|
['git', 'log', '--format="%h"', '-n 1'],
|
|
|
|
stderr=subprocess.DEVNULL).decode("utf-8").rstrip().strip('"')
|
2019-08-28 05:05:48 +00:00
|
|
|
except Exception:
|
|
|
|
# git not available, ignore
|
|
|
|
pass
|