60 lines
1.0 KiB
GraphQL
60 lines
1.0 KiB
GraphQL
|
query Market($marketId: ID!, $interval: Interval!, $since: String!) {
|
||
|
market(id: $marketId) {
|
||
|
id
|
||
|
name
|
||
|
tradingMode
|
||
|
state
|
||
|
decimalPlaces
|
||
|
positionDecimalPlaces
|
||
|
data {
|
||
|
market {
|
||
|
id
|
||
|
}
|
||
|
auctionStart
|
||
|
auctionEnd
|
||
|
markPrice
|
||
|
indicativeVolume
|
||
|
indicativePrice
|
||
|
suppliedStake
|
||
|
targetStake
|
||
|
bestBidVolume
|
||
|
bestOfferVolume
|
||
|
bestStaticBidVolume
|
||
|
bestStaticOfferVolume
|
||
|
trigger
|
||
|
}
|
||
|
tradableInstrument {
|
||
|
instrument {
|
||
|
id
|
||
|
name
|
||
|
code
|
||
|
metadata {
|
||
|
tags
|
||
|
}
|
||
|
product {
|
||
|
... on Future {
|
||
|
oracleSpecForTradingTermination {
|
||
|
id
|
||
|
}
|
||
|
quoteName
|
||
|
settlementAsset {
|
||
|
id
|
||
|
symbol
|
||
|
name
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
marketTimestamps {
|
||
|
open
|
||
|
close
|
||
|
}
|
||
|
candles(interval: $interval, since: $since) {
|
||
|
open
|
||
|
close
|
||
|
volume
|
||
|
}
|
||
|
}
|
||
|
}
|