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