f743828cb5
* feat: #991 move order validation back in deal ticket, add tooltip * fix: align view full market list link styling * feat: #991 move tooltip add for monitoring liq auction * feat: #991 order validation messages, LP table sortable, padding sparkline, warning instead of errro * feat: #991 check only in monitoring auction to add tooltips, re-use isMarketInAuction * fix: #991 fix import for isMarketInAuction * fix: #991 console-lite imports * fix: formatting in console-lite deal-ticket-steps.tsx * fix: add market depth * fix: add market depth and fix generate orders * fix: revert market list and generate orders * fix: fix trading-e2e build * feat: #991 in monitoring auction don't show a price input color update based on intent * fix: #991 update docs links to docs.vega.xyz in tooltips
69 lines
1.1 KiB
GraphQL
69 lines
1.1 KiB
GraphQL
query Market($marketId: ID!, $interval: Interval!, $since: String!) {
|
|
market(id: $marketId) {
|
|
id
|
|
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
|
|
decimals
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
marketTimestamps {
|
|
open
|
|
close
|
|
}
|
|
depth {
|
|
lastTrade {
|
|
price
|
|
}
|
|
}
|
|
candlesConnection(interval: $interval, since: $since) {
|
|
edges {
|
|
node {
|
|
open
|
|
close
|
|
volume
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|