Command Line¤
Minitrade provides a command line interface to manage the lifecycles of background services, include:
- Scheduler
- IB gateway
- Web UI
minitrade¤
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--help |
boolean | Show this message and exit. | False |
backtest¤
Run backtest for particular plan
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--run_id |
text | Specify an unique run ID manually | None |
--dryrun |
boolean | Dry run only, don't place orders | False |
--pytest |
boolean | Run in test mode | False |
--help |
boolean | Show this message and exit. | False |
ib¤
Manage the execution of IB gateway
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--help |
boolean | Show this message and exit. | False |
diagnose¤
Diagnose IB login issues
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--help |
boolean | Show this message and exit. | False |
login¤
Login IB gateway to a particular account
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
-a , --alias |
text | IB account alias | None |
--help |
boolean | Show this message and exit. | False |
logout¤
Logout IB gateway from all accounts
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--help |
boolean | Show this message and exit. | False |
start¤
Start IB gateway
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--help |
boolean | Show this message and exit. | False |
status¤
Check IB gateway status
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--help |
boolean | Show this message and exit. | False |
stop¤
Stop IB gateway
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--help |
boolean | Show this message and exit. | False |
init¤
Initialize Minitrade
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
-y , --yes |
boolean | Don't ask for confirmation of inplace upgrade | False |
--help |
boolean | Show this message and exit. | False |
scheduler¤
Manage scheduler and scheduled jobs
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--help |
boolean | Show this message and exit. | False |
schedule¤
Schedule a trade plan
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--help |
boolean | Show this message and exit. | False |
start¤
Start scheduler
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--help |
boolean | Show this message and exit. | False |
status¤
Check scheduler status
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--help |
boolean | Show this message and exit. | False |
stop¤
Stop scheduler
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--help |
boolean | Show this message and exit. | False |
unschedule¤
Unschedule a trade plan
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--help |
boolean | Show this message and exit. | False |
web¤
Manage web UI
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--help |
boolean | Show this message and exit. | False |
start¤
Launch web UI
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--help |
boolean | Show this message and exit. | False |
:list_subcommands