Skip to content
New issue

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

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

Already on GitHub? # to your account

For --history key add possibility to view html chart with PriceGenerator package #6

Closed
Tim55667757 opened this issue Jul 1, 2022 · 2 comments
Assignees
Labels
Feature New feature, request or an idea
Milestone

Comments

@Tim55667757
Copy link
Owner

Tim55667757 commented Jul 1, 2022

Add key --render-chart with two possible parameter: interact (i) or non-interact (ni).

If you select interact then chain of candlesticks will render as interactive Bokeh chart. See examples: https://github.com/Tim55667757/PriceGenerator#overriding-parameters

If you select non-interact then chain of candlesticks will render as not interactive Google Candlestick chart. See examples:
https://github.com/Tim55667757/PriceGenerator#statistics-and-chart-on-a-simple-template

@Tim55667757 Tim55667757 self-assigned this Jul 1, 2022
@Tim55667757 Tim55667757 added the Feature New feature, request or an idea label Jul 1, 2022
@Tim55667757 Tim55667757 added this to the release-1.4 milestone Jul 11, 2022
Tim55667757 added a commit that referenced this issue Oct 18, 2022
…erAPI-UniLogger"`. Also, `PriceGenerator` library was added
Tim55667757 added a commit that referenced this issue Oct 18, 2022
Tim55667757 added a commit that referenced this issue Oct 18, 2022
Tim55667757 added a commit that referenced this issue Oct 18, 2022
Tim55667757 added a commit that referenced this issue Oct 18, 2022
Tim55667757 added a commit that referenced this issue Oct 18, 2022
Tim55667757 added a commit that referenced this issue Oct 18, 2022
Tim55667757 added a commit that referenced this issue Oct 18, 2022
@Tim55667757
Copy link
Owner Author

When launched with the --history key, the ability to specify an additional key --render-chart and generates interactive or static charts using the PriceGenerator library was added.

Also, you can build charts for previously saved csv-files with the candles history. To do this, you need to specify the --render-chart key with the new implemented key for loading data from file: --load-history.

Test build: https://app.travis-ci.com/github/Tim55667757/TKSBrokerAPI/builds/256801023
PyPI: https://pypi.org/project/tksbrokerapi/1.3.dev77/
For testing use 1.3.dev77 version: pip install tksbrokerapi==1.3.dev77

@Tim55667757
Copy link
Owner Author

Tim55667757 commented Oct 19, 2022

The generated graphs of various types will look like below. By default, they are saved to the index.html file. The charts additionally display some statistical values and indicators, however, they are presented only for a quick review of the price behavior in a given range. To conduct full analytical research and technical analysis, it is recommended to use other professional tools.

Interactive chart Static chart

Real examples

The first example of uploaded data can be found in the file ./docs/media/GAZP_hour.csv, and the generated chart in the file ./docs/media/index_GAZP_google_chart.html.

The second example of uploaded data can be found in the file ./docs/media/POSI_15min.csv, and the generated chart in the file ./docs/media/index_POSI_bokeh_chart.html.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Feature New feature, request or an idea
Projects
None yet
Development

No branches or pull requests

1 participant