Replies: 7 comments
-
You don't need to use the internal indicator representation function if you don't have time to understand how it works and how it can be used with ANY external TA library. It is good to be used only if you plan to plot the result of these indicators with the support for that already done. You can use any other indicators directly with current index from self._broker._i. I also does not like many things and decided to rewrite the whole logic to support options and many price sources for different securities at the same time, etc. You are always free to use it as it is, to request modifications or to do them by yourself. |
Beta Was this translation helpful? Give feedback.
-
Now if I want to add ta.SMA I will add it inside self.I? |
Beta Was this translation helpful? Give feedback.
-
You have to invest time to understand the examples from the documentation. It is very simple to use any of the external ta libs you mentioned. Even I gave you a way to index any other unsupported indicators by using the absolute index from self._broker._i
What of these two options is not clear enough? |
Beta Was this translation helpful? Give feedback.
-
You mean if i use talib indicators should use talib.abstract.SMA(...).shift(-1) instade of next function? Maybe im wrong but I think its not simple to undrestanding I need some examples to use other indicators and a simple code to optimize the indicators on it...
|
Beta Was this translation helpful? Give feedback.
-
Here is one simple example to use external ta lib like finta (worst case because it uses different names for the columns): |
Beta Was this translation helpful? Give feedback.
-
thanks I'll check this links ;) |
Beta Was this translation helpful? Give feedback.
-
Have you seen the tutorials? |
Beta Was this translation helpful? Give feedback.
-
Expected Behavior
Optimizing and adding new indicators Is hard and dosnt sense!
For example whats that "I":
Why we need it I want to use ta-lib instade of that!
How can I do it?
I think 🤔 its not have good docs or maybe I can not read good
If we use ccxt than how we can implement it instade of goog data?! Cuz them have defferences in keys and also data will split to 5 place and than we can use it but for example ta.Mfi will use full of goog with lowercase keys( 'Open' to 'open')
And etc etc make it difficult to work.
Maybe its good to remove all examples and let user to add his data and indicators normally.
I Need to make an environment for gym open ai but Its going very hard to me ;(
Beta Was this translation helpful? Give feedback.
All reactions