diff --git a/examples/exchange/oracle/1_StreamPrices/example.go b/examples/exchange/oracle/1_StreamPrices/example.go index f64f38c5..4c428ea0 100644 --- a/examples/exchange/oracle/1_StreamPrices/example.go +++ b/examples/exchange/oracle/1_StreamPrices/example.go @@ -5,6 +5,7 @@ import ( "encoding/json" "fmt" "os" + "strings" rpchttp "github.com/cometbft/cometbft/rpc/client/http" @@ -74,7 +75,8 @@ func main() { baseSymbol := market.OracleBase quoteSymbol := market.OracleQuote - oracleType := market.OracleType + oracleType := strings.ToLower(market.OracleType) + stream, err := exchangeClient.StreamPrices(ctx, baseSymbol, quoteSymbol, oracleType) if err != nil { panic(err)