Skip to main content

RQAlpha Mod for logbook

Project description

log Mod

RQAlpha log Mod,supporting logbook output

Enable/Disable log Mod

# Disable log Mod
$ rqalpha mod disable log

# Enable log Mod
$ rqalpha mod enable log

Mod Config

Configs of log Mod are as followed.

{
    # Specify the log output file
    "log_file": "./log.txt",
    # Python open() method to read/write file
    "log_mode": "a",
}

Extend command

With this mod enabled, you can use follow function:

  • rqalpha run command can use --log-file file_path option to export the log to file_path location
  • rqalpha run command can use --log-mode log_mode option,which is the 'mode' param in python built-in open() method,to determine how to read/write the output log file

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rqalpha-mod-log-0.1.3.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rqalpha_mod_log-0.1.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file rqalpha-mod-log-0.1.3.tar.gz.

File metadata

  • Download URL: rqalpha-mod-log-0.1.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for rqalpha-mod-log-0.1.3.tar.gz
Algorithm Hash digest
SHA256 99e22d65805e2b4e5cdc6112edc74ebb3c57cf6a7bcf611662734f811c44b65a
MD5 ed731a01fc88e61c0cc5df672610cf7f
BLAKE2b-256 78087a3b1a2adfa91fdda9a4403e1bb1d1884d3640830fe513f530146cf30803

See more details on using hashes here.

File details

Details for the file rqalpha_mod_log-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: rqalpha_mod_log-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for rqalpha_mod_log-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 41411a8be01f98646dd9c949e8df09a1bc782bea04fd49c055defe53a42df294
MD5 88ff2285c8591cb4e12beb3c5a7aad82
BLAKE2b-256 528b40e0553b72e13619d41ec94a9bc6c6f908a9c016bacdd414e1288563c52d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page