VersionInfo#
API documentation for tradeexecutor.cli.version_info.VersionInfo Python class in Trading Strategy framework.
- class VersionInfo[source]#
- Bases: - object- Reflect the version information embedded in the Docker image during CI build. - See Dockerimage and .githyb/workflows/tests.yml for details. - __init__(tag=None, commit_message=None, commit_hash=None)#
 - Methods - __init__([tag, commit_message, commit_hash])- from_dict(kvs, *[, infer_missing])- from_json(s, *[, parse_float, parse_int, ...])- Read version information burnt within Docker file-system during image building. - read_version_file(name)- See Dockerfile - schema(*[, infer_missing, only, exclude, ...])- to_dict([encode_json])- to_json(*[, skipkeys, ensure_ascii, ...])- Attributes - Git commit SHA hash - The latest commit message before release.sh was run - v50