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

Increase font size #82

Open
Zwillyzz opened this issue Sep 30, 2024 · 5 comments
Open

Increase font size #82

Zwillyzz opened this issue Sep 30, 2024 · 5 comments

Comments

@Zwillyzz
Copy link

Is there a way to increase the font size? Looks small.

@lavolp3
Copy link
Owner

lavolp3 commented Sep 30, 2024 via email

@Zwillyzz
Copy link
Author

Zwillyzz commented Oct 1, 2024

Added clases: "small" and that worked. Thanks!

Is there a way to adjust the refresh time for the chart? How often are prices changing? Would like it to change every 5 minutes if possible.

@lavolp3
Copy link
Owner

lavolp3 commented Oct 1, 2024

There is a "callInterval" in the config parameters that is set to 2 minutes. Stock data is requested and sent to the front end in that cycle. So the chart data should update every two minutes.
I'm not sure how fresh the data in the API itself is.
You can check the yahoo finance API documentation for that.
You cannot expect a high acuracy from this.
Don't trade with my module! :-D

@Zwillyzz
Copy link
Author

Zwillyzz commented Oct 2, 2024

I do not see a callInterval. What value should I set it to for 2 minutes? Can't find the info on the API documentation.

@lavolp3
Copy link
Owner

lavolp3 commented Oct 4, 2024

You don't need to set anything.
The interval has been set to 2 minutes from start, which is less than the 5 minutes you asked for.
If you see that the module does not update data every 2 minutes, it probably stopped calling the API due to some error. Then let me know.

I intentionally did not add it to the documentation. Don't see much value in changing this parameter.

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