Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tradingview chart loading issue in DEX #132

Open
pointersolana opened this issue Oct 23, 2021 · 7 comments
Open

Tradingview chart loading issue in DEX #132

pointersolana opened this issue Oct 23, 2021 · 7 comments

Comments

@pointersolana
Copy link

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

@exonchain
Copy link

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.

@akdavidsson
Copy link

Same issue here any news on this?

@s-bilic
Copy link

s-bilic commented Oct 30, 2021

@akdavidsson @exonchain any solutions yet?

@utx0
Copy link

utx0 commented Nov 3, 2021

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

@exonchain
Copy link

exonchain commented Nov 8, 2021

@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
Copy link

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.
:)

@interbiznw
Copy link

interbiznw commented Jan 6, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants