mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
from freqtrade.system.asyncio_config import asyncio_setup
|
from freqtrade.system.asyncio_config import asyncio_setup
|
||||||
from freqtrade.system.gc_setup import gc_set_threshold
|
from freqtrade.system.gc_setup import gc_set_threshold
|
||||||
|
from freqtrade.system.version_info import print_version_info
|
||||||
|
|
||||||
|
|
||||||
__all__ = ["asyncio_setup", "gc_set_threshold"]
|
__all__ = ["asyncio_setup", "gc_set_threshold", "print_version_info"]
|
||||||
|
|||||||
15
freqtrade/system/version_info.py
Normal file
15
freqtrade/system/version_info.py
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
from freqtrade import __version__
|
||||||
|
|
||||||
|
|
||||||
|
def print_version_info():
|
||||||
|
"""Print version information for freqtrade and its key dependencies."""
|
||||||
|
import platform
|
||||||
|
import sys
|
||||||
|
|
||||||
|
import ccxt
|
||||||
|
|
||||||
|
print(f"Operating System: \t{platform.platform()}")
|
||||||
|
print(f"Python Version: \tPython {sys.version.split(' ')[0]}")
|
||||||
|
print(f"CCXT Version: \t\t{ccxt.__version__}")
|
||||||
|
print()
|
||||||
|
print(f"Freqtrade Version:\tfreqtrade {__version__}")
|
||||||
Reference in New Issue
Block a user