Skip to content

release-1.2.58

Compare
Choose a tag to compare
@Tim55667757 Tim55667757 released this 08 Dec 22:20
· 122 commits to master since this release

New feature: split data by some trends.

It was implemented two additional keys: --split-trend and --split-count. These keys affect the appearance of the trend and the number of candles in each trend.

The --split-trend key shows trends movements, e.g. --split-trend=/\- means that generated candles has up trend at first part, next down trend and then no trend.

The --split-count key set count of candles of difference periods, e.g. --split-count 5 10 15 means that generated candles has 3 trends with 5, 10 and 15 candles in chain.

To understand how it works, try one of these examples:

pricegenerator --horizon 300 --render-bokeh index.html --split-trend=/\- --split-count 50 100 150 --generate
pricegenerator --horizon 300 --render-bokeh index.html --split-trend=\/\ --split-count 50 100 150 --generate
pricegenerator --horizon 300 --render-bokeh index.html --split-trend=\-/ --split-count 50 100 150 --generate
pricegenerator --horizon 100 --render-bokeh index.html --split-trend=/\/\ --split-count 20 30 30 20 --generate

For the last example, you can get a picture like this:

index_with_trends html