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

Question related to implementation #365

Open
tuhinsubhrahazra opened this issue Nov 28, 2023 · 1 comment
Open

Question related to implementation #365

tuhinsubhrahazra opened this issue Nov 28, 2023 · 1 comment

Comments

@tuhinsubhrahazra
Copy link

I am currently working on a TradingView library related project and here are a few questions related to the TradingView library.

  1. Does the total tick data length have to be more than or equals to the - periodParams.countBack value in getBars function ?
    If yes then can i update the value of periodParams.countBack according to the tick data length ?

  2. When I scroll horizontally to the left and when I reach the last bar, the 'getBars' function is called infinitely. Why is this happening?

  3. Does any Android library exist that for advanced trading view library ?
    because when i open the trading view of groww app , my be i wrong but i think it is not implemented in web view.

@tuhinsubhrahazra tuhinsubhrahazra changed the title Question on implementation Question related to implementation Nov 28, 2023
@romfrancois
Copy link
Contributor

Does the total tick data length have to be more than or equals to the - periodParams.countBack value in getBars function ?

Simplest answer would be no, but I would encourage you to firsyt read the dedicated documentation explaining how the datafeed works.

When I scroll horizontally to the left and when I reach the last bar, the 'getBars' function is called infinitely. Why is this happening?

This is simply because your datafeed is not indicating to the library there is no more data to return so as a consequence the library keeps on requesting data.

Have a read at this documentation article.

Does any Android library exist that for advanced trading view library ?

Here we have a dedicated example for Android using webviews.
Basically the library is in Javascript to ease its usability in most framework/environment.

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

2 participants