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

Implement trading view in Java Application #389

Open
antonylim opened this issue Aug 9, 2024 · 6 comments
Open

Implement trading view in Java Application #389

antonylim opened this issue Aug 9, 2024 · 6 comments

Comments

@antonylim
Copy link

Hi, I use JSP for the front end and Java Spring for the backend.
for the front end I copy the index.html part and change the datafeedUrl to my API.
in backend, I create some API:

  1. http://localhost:8084/infovesta/saham/data/symbols
  2. http://localhost:8084/infovesta/saham/data/history
  3. http://localhost:8084/infovesta/saham/data/config
  4. http://localhost:8084/infovesta/saham/data/time
  5. http://localhost:8084/infovesta/saham/data/search
  6. http://localhost:8084/infovesta/saham/data/symbols

all API use hardcode values, just for testing purposes.
It's not called http://localhost:8084/infovesta/saham/data/history API, so the graph did not show, what should I do?

image

@GeorgiiMatveev-tv
Copy link

Hello @antonylim ,

Could you please set the property in the widget constructor as debug: true, repeat loading of the page and send the log to us?

@antonylim
Copy link
Author

Hi @GeorgiiMatveev-tv
I don't see any message from the bottom right corner log button:
image

@GeorgiiMatveev-tv
Copy link

Hello @antonylim

One "0" seems to be missing from "0930-163", should be "0930-1630", most likely in the session or corrections information.

@antonylim
Copy link
Author

Hi @GeorgiiMatveev-tv ,
i have succeed using TV Chart, but there are some error, can you give me pointer to resolved them?
image

@GeorgiiMatveev-tv
Copy link

@antonylim , I suggest to address the CORS first, you'd need to implement your own storage for production, ours is only avaialbe for testing purposes on localhost.
https://www.tradingview.com/charting-library-docs/latest/getting_started/Online-Editors/#note

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

3 participants
@antonylim @GeorgiiMatveev-tv and others