Audit cornix auto-trade channels (using cornix info)
You need PRO subscription to use this script
To execute this script you will need access_token
and refresh_token
these tokens must be obtained from https://dashboard.cornix.io/ once you are logged in
- Login to https://dashboard.cornix.io/
- Open devtools (Ctrl+F12) and go to "Console"
- To get access_token type:
window.localStorage.getItem('access_token')
- To get access_token type:
window.localStorage.getItem('refresh_token')
- To get access_token type:
- Then use access_token and refresh_token as script parameters
Help message:
Usage: audit-trades [options]
Options:
-V, --version output the version number
-a, --access <access_token> cornix dashboard auth token (env: ACCESS_TOKEN)
-r, --refresh <refresh_token> cornix dashboard refresh token (env: REFRESH_TOKEN)
-d, --dot use dot as decimal separator (env: REPLACE_DOT)
-o, --open include open trades (env: INCLUDE_OPEN)
-c, --channels extract channels info (env: CHANNELS_INFO)
-p, --profit extract profits (env: EXTRACT_PROFITS)
-h, --help display help for command
Example:
audit-trades-win.exe -a eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2... -r eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eX... --dot
Script will create a folder called out
and inside this folder there will be a file statistics.csv