-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathget-market-data.graphql
More file actions
85 lines (83 loc) · 1.97 KB
/
Copy pathget-market-data.graphql
File metadata and controls
85 lines (83 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# How to get market data history from a Data Node using GraphQL calls:
# ----------------------------------------------------------------------
# Cursor pagination is supported
# ----------------------------------------------------------------------
# The query must contain an id argument:
# getMarketDataHistoryConnectionByID(id: "MARKET_ID")
# ----------------------------------------------------------------------
# For full details see the GraphQL Reference API docs at https://docs.vega.xyz
query getMarketData {
getMarketDataHistoryConnectionByID(
id: "e9ec6d5c46a7e7bcabf9ba7a893fa5a5eeeec08b731f06f7a6eb7bf0e605b829"
) {
edges {
node {
market {
id
}
markPrice
bestBidPrice
bestBidVolume
bestOfferPrice
bestOfferVolume
bestStaticBidPrice
bestStaticBidVolume
bestStaticOfferPrice
bestStaticOfferVolume
midPrice
staticMidPrice
timestamp
openInterest
auctionEnd
auctionStart
indicativePrice
indicativeVolume
marketTradingMode
trigger
extensionTrigger
targetStake
suppliedStake
commitments {
buys {
order {
id
price
timeInForce
side
size
remaining
party {
id
}
}
}
sells {
order {
id
price
timeInForce
side
size
remaining
party {
id
}
}
}
}
priceMonitoringBounds {
minValidPrice
maxValidPrice
}
marketValueProxy
liquidityProviderFeeShare {
party {
id
}
equityLikeShare
averageEntryValuation
}
}
}
}
}