ubdcc CLI¶
The ubdcc command-line interface manages a local UBDCC cluster (start,
status, stop, credentials). See the start subcommand for the interactive
shell commands available at runtime (add-dcn, remove-dcn, status,
restart, stop, help).
ubdcc¶
UNICORN Binance DepthCache Cluster — Cluster Manager https://github.com/oliver-zehentleitner/unicorn-binance-depth-cache-cluster
[1;34musage: [0m[1;35mubdcc[0m [[32m-h[0m] [[32m-v[0m] [32m{start,status,stop,credentials} ...[0m
- -h, --help¶
show this help message and exit
- -v, --version¶
show program’s version number and exit
- Credentials subcommands (use “ubdcc credentials <cmd> –help” for details):
credentials add Add a Binance API key/secret credentials remove Remove credentials by id credentials list List configured credentials (keys masked)
- Interactive shell commands (available inside “ubdcc start”):
add-dcn [count] Spawn new DCN process(es) remove-dcn <count|name> Stop and remove DCN(s) status Show cluster status restart <name> Restart a specific pod stop Shut down the cluster help Show available shell commands
ubdcc credentials¶
[1;34musage: [0m[1;35mubdcc credentials[0m [[32m-h[0m] [32m{add,remove,list} ...[0m
- -h, --help¶
show this help message and exit
ubdcc credentials add¶
[1;34musage: [0m[1;35mubdcc credentials add[0m [[32m-h[0m] [36m--account-group [33mACCOUNT_GROUP[0m [36m--api-key [33mAPI_KEY[0m [36m--api-secret [33mAPI_SECRET[0m [[36m--port [33mPORT[0m]
- -h, --help¶
show this help message and exit
- --account-group <account_group>¶
binance.com | binance.com-testnet | binance.com-futures-testnet | binance.us | binance.tr
- --api-key <api_key>¶
- --api-secret <api_secret>¶
- --port <port>¶
Mgmt port (default: 42080)
ubdcc credentials list¶
[1;34musage: [0m[1;35mubdcc credentials list[0m [[32m-h[0m] [[36m--port [33mPORT[0m]
- -h, --help¶
show this help message and exit
- --port <port>¶
Mgmt port (default: 42080)
ubdcc credentials remove¶
[1;34musage: [0m[1;35mubdcc credentials remove[0m [[32m-h[0m] [[36m--port [33mPORT[0m] [32mid[0m
- id¶
- -h, --help¶
show this help message and exit
- --port <port>¶
Mgmt port (default: 42080)
ubdcc start¶
[1;34musage: [0m[1;35mubdcc start[0m [[32m-h[0m] [[36m--dcn [33mDCN[0m] [[36m--port [33mPORT[0m] [[36m--logdir [33mLOGDIR[0m] [[36m--log-level [33m{DEBUG,INFO,WARNING,ERROR,CRITICAL}[0m]
- -h, --help¶
show this help message and exit
- --dcn <dcn>¶
Number of DCN processes (default: 1)
- --port <port>¶
Mgmt port (default: 42080 or next free)
- --logdir <logdir>¶
Log directory (default: current directory)
- --log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}¶
Log level for spawned services (default: ERROR)
ubdcc status¶
[1;34musage: [0m[1;35mubdcc status[0m [[32m-h[0m] [[36m--port [33mPORT[0m]
- -h, --help¶
show this help message and exit
- --port <port>¶
Mgmt port (default: 42080)
ubdcc stop¶
[1;34musage: [0m[1;35mubdcc stop[0m [[32m-h[0m] [[36m--port [33mPORT[0m]
- -h, --help¶
show this help message and exit
- --port <port>¶
Mgmt port (default: 42080)

