OMS Command Line Interface
The CLI tools for OMS are available in the oms-control
Docker Image, or as part of the XOSP distribution.
These tools typically just exercise the OMS REST API with some added smarts for reading and writing CSV files.
Help Commands
Section titled “Help Commands”The CLI tool can provide basic documentation on the features and arguments available.
List valid Actions
Paritech.OMS2.Control Help
List valid Actions for a Feature
Paritech.OMS2.Control Help Hub
List arguments and options for an Action
Paritech.OMS2.Control Help Market Create
Basic Commands
Section titled “Basic Commands”Full commands take the format of Feature Action [Args]
.
Available Actions
Section titled “Available Actions”- Account: Actions related to manipulating Trading Account metadata used by vetting.
- Balance: Actions related to cash balances.
- Exchange: Actions related to registered Exchage.
- Feed: Actions related to the feed adapters attached to OMS.
- Holding: Actions related to asset holdings.
- Hub: Actions related to the OMS hubs.
- Identity: Actions related to identities and permissions for accessing OMS.
- IdentitySource: Actions related to identity sources (OAuth servers) allowed to authenticate with OMS.
- Order: Actions related to open orders.
- Owner: Actions related to Trading Account Owners and metadata.
- Status: Actions related to Request Status metadata.
- Trade: Actions related to trades processed by OMS.
- Transaction: Actions related to transactions processed through OMS.