Queries
About queries
accountByAccountId
Type: Account
Returns the account with the corresponding account id.
Arguments
| Name | Description |
|---|---|
| accountId (String) | Accound id |
accounts
Type: [Account]
Returns all user accounts.
configuration
Type: Configuration
Returns configuration.
order
Type: Order
Returns the order with the corresponding uid.
Arguments
| Name | Description |
|---|---|
| uid (Int) | Order uid |
orderByOrderId
Type: Order
Returns the order with the corresponding order id.
Arguments
| Name | Description |
|---|---|
| orderId (String) | Order id |
orders
Type: [Order]
Returns all the orders.
position
Type: Position
Returns the position with the corresponding uid.
Arguments
| Name | Description |
|---|---|
| uid (Int) | Position uid |
positions
Type: [Position]
Returns all the positions.
positionsByStrategyId
Type: [Position]
Returns all the positions of the specified strategy id.
Arguments
| Name | Description |
|---|---|
| strategyId (String) | Strategy id |
positionsByStrategyIdAndStatus
Type: [Position]
Returns all the positions of the specified strategy id and a certain status.
Arguments
| Name | Description |
|---|---|
| strategyId (String) | Strategy id |
| status (PositionStatus) | Position status |
positionsByStrategyUid
Type: [Position]
Returns all the positions of the specified strategy uid.
Arguments
| Name | Description |
|---|---|
| strategyUid (Int) | Strategy uid |
positionsByStrategyUidAndStatus
Type: [Position]
Returns all the positions of the specified strategy uid and a certain status.
Arguments
| Name | Description |
|---|---|
| strategyUid (Int) | Strategy uid |
| status (PositionStatus) | Position status |
strategies
Type: [Strategy]
Returns all the strategies.
strategy
Type: Strategy
Returns the strategy with the corresponding strategy uid.
Arguments
| Name | Description |
|---|---|
| uid (Int) | Strategy uid |
strategyByStrategyId
Type: Strategy
Returns the strategy with the corresponding strategy id.
Arguments
| Name | Description |
|---|---|
| strategyId (String) | Strategy id |
trade
Type: Trade
Returns the trade with the corresponding uid.
Arguments
| Name | Description |
|---|---|
| uid (Int) | Trade uid |
tradeByTradeId
Type: Trade
Returns the trade with the corresponding trade id.
Arguments
| Name | Description |
|---|---|
| tradeId (String) | Trade id |
trades
Type: [Trade]
Returns all the trades.