Skip to content

Commit

Permalink
improved USDCUSD config
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadiem Sissouno committed Oct 5, 2023
1 parent f773f4f commit 1b5230e
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions packages/helm-charts/oracle/USDCUSD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,48 @@ oracle:
aggregation:
mid:
maxExchangeVolumeShare: 1
maxPercentageDeviation: 0.01
maxPercentageDeviation: 0.005
maxPercentageBidAskSpread: 0.005
metrics:
enabled: true
prometheusPort: 9090
apiRequestTimeoutMs: 5000
circuitBreakerPriceChangeThreshold: 0.25
gasPriceMultiplier: 1.5
priceSources: "[
priceSources: "[
[
{exchange: 'BINANCE', symbol: 'USDCUSDT', toInvert: false},
{exchange: 'KRAKEN', symbol: 'USDTUSD', toInvert: false }
],
[
{exchange: 'KRAKEN', symbol: 'USDCUSD', toInvert: false}
],
[
{exchange: 'BINANCEUS', symbol: 'USDCUSD', toInvert: false}
{exchange: 'BITSTAMP', symbol: 'USDCUSD', toInvert: false}
],
[
{exchange: 'COINBASE', symbol: 'USDTUSDC', toInvert: true},
{exchange: 'COINBASE', symbol: 'USDTUSD', toInvert: false}
],
[
{exchange: 'WHITEBIT', symbol: 'USDCUSDT', toInvert: false},
{exchange: 'OKX', symbol: 'USDCUSDT', toInvert: false},
{exchange: 'BITSTAMP', symbol: 'USDTUSD', toInvert: false}
],
[
{exchange: 'Bitget', symbol: 'USDTUSDC', toInvert: true},
{exchange: 'Kraken', symbol: 'USDTUSD', toInvert: false}
],
[
{exchange: 'KUCOIN', symbol: 'USDCUSDT', toInvert: false},
{exchange: 'COINBASE', symbol: 'USDTUSD', toInvert: false}
]
]"
minPriceSourceCount: 2
# Additional sources missing adapters
# [
# {exchange: 'Bybit', symbol: 'USDTUSDC', toInvert: true},
# {exchange: 'Kraken', symbol: 'USDTUSD', toInvert: false}
# ],
minPriceSourceCount: 5
reportStrategy: BLOCK_BASED
reporter:
blockBased:
Expand Down

0 comments on commit 1b5230e

Please sign in to comment.