serum-dex-ui icon indicating copy to clipboard operation
serum-dex-ui copied to clipboard

Tradingview chart loading issue in DEX

Open pointersolana opened this issue 4 years ago • 7 comments
trafficstars

Screenshot 2021-10-23 at 17 15 51

Getting the API data from bonfida is giving CORS errors on the live open project serum DEX but also local development versions.

https://openserum.ch/dex/#/market/ByRys5tuUWDgL73G8JBAEfkdFf8JWBzPBDHsBVQ5vbQA

pointersolana avatar Oct 23 '21 15:10 pointersolana

The same issue here, seems blocked by cloudflare?

Access to fetch at 'https://serum-api.bonfida.com/tv/config' from origin 'MY_DOMAIN/localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

exonchain avatar Oct 25 '21 05:10 exonchain

Same issue here any news on this?

akdavidsson avatar Oct 26 '21 16:10 akdavidsson

@akdavidsson @exonchain any solutions yet?

s-bilic avatar Oct 30 '21 12:10 s-bilic

Same issue here. Anyone got a fix? Is the backend API code posted anywhere? Might need to run our own API server?

utx0 avatar Nov 03 '21 19:11 utx0

@akdavidsson @exonchain any solutions yet?

I asked in Discord. The data service of TradingView is a charged service, you need to contact Bonfida to apply(and pay), then they will add you to their whitelist. Please correct me if anything wrong.

exonchain avatar Nov 08 '21 02:11 exonchain

Same issue here. Anyone got a fix? Is the backend API code posted anywhere? Might need to run our own API server?

I also tend to set up my own server, if there is a TradingView data stream setting method. Please share. :)

exonchain avatar Nov 08 '21 03:11 exonchain

Lol wow. Should probably be stated in this repo your time and efforts are worthless as Bonfida has changed their API and you need PAID access of over $1000 USD Monthly for access to the Tradingview data stream. Makes trying to set this up pointless.

This repo changes to make OHLCV candles built from on chain data using Bonfida's API A REQUIREMENT

Now makes setting up serum-dex-ui a PAID ONLY option. What a waste of time setting this up to get all the way to that point

interbiznw avatar Jan 06 '22 01:01 interbiznw