0.1.2 • Published 8 years ago
mosuq-cli v0.1.2
mosuq-cli
Manage your mosuq exchanges from the command-line.
mosuq allows you to create on-demand, tradable exchanges which can be used for any purpose.
Complete API Documentation is available here
Installation
npm install --global mosuq-cli
Available Commands
Usage: mosuq COMMAND
mosuq: for managing your on-demand tradable exchanges
exchanges add Add an Exchange
exchanges delete Delete an Exchange
exchanges list List all Exchanges
keys list List your mosuq Account Credentials
keys set Set your mosuq Account Credentials
orders add Add an Order to an Exchange
orders cancel Cancel an Order
orders list List all Open Orders
pairs add Add a Tradable Pair to an Exchange
pairs delete Delete a Pair from a Given Exchange
pairs list List all Pairs for a Given Exchange
trades list List all Executed Trades for a Given Exchange
Example: List Exchanges
> mosuq exchanges list
exchanges:
-
exchangeId: MyOwnExchange
_id: 56ebc5c1e4b081fde0593330
-
exchangeId: MySecondExchange
_id: 56ecca9ce4b081fde0593336
count: 2
Authentication and Authorization
In order to administer your mosuq exchange(s), you will need to provide your Mosuq Account ID (accountId
) and your Mosuq Authorization Key (authKey
) in config/account.json
:
{
"accountId": "Insert_Your_Mosuq_Account_ID_Here",
"authKey": "Insert_Your_Mosuq_Authorization_Key_Here"
}
License
© 2016 mosuq, inc. All Rights Reserved