fix(trading): pagination limit for candles (#5169)
This commit is contained in:
parent
e5d3f90d45
commit
d4f50eb70c
@ -20,7 +20,11 @@ query Candles($marketId: ID!, $interval: Interval!, $since: String!) {
|
|||||||
code
|
code
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
candlesConnection(interval: $interval, since: $since) {
|
candlesConnection(
|
||||||
|
interval: $interval
|
||||||
|
since: $since
|
||||||
|
pagination: { last: 5000 }
|
||||||
|
) {
|
||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
...CandleFields
|
...CandleFields
|
||||||
|
@ -46,7 +46,7 @@ export const CandlesDocument = gql`
|
|||||||
code
|
code
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
candlesConnection(interval: $interval, since: $since) {
|
candlesConnection(interval: $interval, since: $since, pagination: {last: 5000}) {
|
||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
...CandleFields
|
...CandleFields
|
||||||
|
@ -37,7 +37,7 @@ export const MarketCandlesDocument = gql`
|
|||||||
marketsConnection(id: $marketId) {
|
marketsConnection(id: $marketId) {
|
||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
candlesConnection(interval: $interval, since: $since) {
|
candlesConnection(interval: $interval, since: $since, pagination: {last: 1000}) {
|
||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
...MarketCandlesFields
|
...MarketCandlesFields
|
||||||
|
@ -19,7 +19,7 @@ export const MarketsCandlesDocument = gql`
|
|||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
id
|
id
|
||||||
candlesConnection(interval: $interval, since: $since) {
|
candlesConnection(interval: $interval, since: $since, pagination: {last: 1000}) {
|
||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
...MarketCandlesFields
|
...MarketCandlesFields
|
||||||
|
@ -11,7 +11,11 @@ query MarketCandles($interval: Interval!, $since: String!, $marketId: ID!) {
|
|||||||
marketsConnection(id: $marketId) {
|
marketsConnection(id: $marketId) {
|
||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
candlesConnection(interval: $interval, since: $since) {
|
candlesConnection(
|
||||||
|
interval: $interval
|
||||||
|
since: $since
|
||||||
|
pagination: { last: 1000 }
|
||||||
|
) {
|
||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
...MarketCandlesFields
|
...MarketCandlesFields
|
||||||
|
@ -12,7 +12,11 @@ query MarketsCandles($interval: Interval!, $since: String!) {
|
|||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
id
|
id
|
||||||
candlesConnection(interval: $interval, since: $since) {
|
candlesConnection(
|
||||||
|
interval: $interval
|
||||||
|
since: $since
|
||||||
|
pagination: { last: 1000 }
|
||||||
|
) {
|
||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
...MarketCandlesFields
|
...MarketCandlesFields
|
||||||
|
Loading…
Reference in New Issue
Block a user