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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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