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
|
||||
}
|
||||
}
|
||||
candlesConnection(interval: $interval, since: $since) {
|
||||
candlesConnection(
|
||||
interval: $interval
|
||||
since: $since
|
||||
pagination: { last: 5000 }
|
||||
) {
|
||||
edges {
|
||||
node {
|
||||
...CandleFields
|
||||
|
@ -46,7 +46,7 @@ export const CandlesDocument = gql`
|
||||
code
|
||||
}
|
||||
}
|
||||
candlesConnection(interval: $interval, since: $since) {
|
||||
candlesConnection(interval: $interval, since: $since, pagination: {last: 5000}) {
|
||||
edges {
|
||||
node {
|
||||
...CandleFields
|
||||
|
@ -37,7 +37,7 @@ export const MarketCandlesDocument = gql`
|
||||
marketsConnection(id: $marketId) {
|
||||
edges {
|
||||
node {
|
||||
candlesConnection(interval: $interval, since: $since) {
|
||||
candlesConnection(interval: $interval, since: $since, pagination: {last: 1000}) {
|
||||
edges {
|
||||
node {
|
||||
...MarketCandlesFields
|
||||
|
@ -19,7 +19,7 @@ export const MarketsCandlesDocument = gql`
|
||||
edges {
|
||||
node {
|
||||
id
|
||||
candlesConnection(interval: $interval, since: $since) {
|
||||
candlesConnection(interval: $interval, since: $since, pagination: {last: 1000}) {
|
||||
edges {
|
||||
node {
|
||||
...MarketCandlesFields
|
||||
|
@ -11,7 +11,11 @@ query MarketCandles($interval: Interval!, $since: String!, $marketId: ID!) {
|
||||
marketsConnection(id: $marketId) {
|
||||
edges {
|
||||
node {
|
||||
candlesConnection(interval: $interval, since: $since) {
|
||||
candlesConnection(
|
||||
interval: $interval
|
||||
since: $since
|
||||
pagination: { last: 1000 }
|
||||
) {
|
||||
edges {
|
||||
node {
|
||||
...MarketCandlesFields
|
||||
|
@ -12,7 +12,11 @@ query MarketsCandles($interval: Interval!, $since: String!) {
|
||||
edges {
|
||||
node {
|
||||
id
|
||||
candlesConnection(interval: $interval, since: $since) {
|
||||
candlesConnection(
|
||||
interval: $interval
|
||||
since: $since
|
||||
pagination: { last: 1000 }
|
||||
) {
|
||||
edges {
|
||||
node {
|
||||
...MarketCandlesFields
|
||||
|
Loading…
Reference in New Issue
Block a user