For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Stock pattern
-
Hi
Is there any sample to find stock pattern like head and shoulder with backtrader? Is it possible? -
It is possible. The main issues is not
bt
, but the logic of the pattern recognition. I didn't seebt
implementation, but seen it implemented on the different platform. -
You could check out ta-lib, since it has some pattern recognition, as I remember. But not fully sure.
-
https://mrjbq7.github.io/ta-lib/func_groups/pattern_recognition.html
Here you go. Since ta lib is supported you should be able to use them with ta lib in backtrader