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 tofile_path
locationrqalpha run
command can use--log-mode log_mode
option,which is the 'mode' param in python built-inopen()
method,to determine how to read/write the output log file
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for rqalpha_mod_log-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41411a8be01f98646dd9c949e8df09a1bc782bea04fd49c055defe53a42df294 |
|
MD5 | 88ff2285c8591cb4e12beb3c5a7aad82 |
|
BLAKE2b-256 | 528b40e0553b72e13619d41ec94a9bc6c6f908a9c016bacdd414e1288563c52d |