2024-03-29 09:26:18 +00:00
|
|
|
#!/usr/bin/env python3
|
2024-05-12 15:51:21 +00:00
|
|
|
from freqtrade import __version__ as ft_version
|
2024-05-12 16:02:42 +00:00
|
|
|
from freqtrade_client import __version__ as client_version
|
2024-05-12 15:51:21 +00:00
|
|
|
|
2024-03-29 09:03:15 +00:00
|
|
|
|
|
|
|
def main():
|
|
|
|
if ft_version != client_version:
|
2024-05-12 15:51:21 +00:00
|
|
|
print(f"Versions do not match: \nft: {ft_version} \nclient: {client_version}")
|
2024-03-29 09:03:15 +00:00
|
|
|
exit(1)
|
|
|
|
print(f"Versions match: ft: {ft_version}, client: {client_version}")
|
|
|
|
exit(0)
|
|
|
|
|
|
|
|
|
2024-05-12 14:18:15 +00:00
|
|
|
if __name__ == "__main__":
|
2024-03-29 09:03:15 +00:00
|
|
|
main()
|