![]() ![]() Out of the box, freqtrade installs the following technical libraries:Īdditional technical libraries can be installed as necessary, or custom indicators may be written / invented by the strategy author. Look into the user_data/strategies/sample_strategy.py. HT_SINE ( dataframe ) dataframe = hilbert dataframe = hilbert dataframe = ta. ![]() MACD ( dataframe ) dataframe = macd dataframe = macd dataframe = macd hilbert = ta. ![]() EMA ( dataframe, timeperiod = 100 ) dataframe = awesome_oscillator ( dataframe ) macd = ta. EMA ( dataframe, timeperiod = 50 ) dataframe = ta. EMA ( dataframe, timeperiod = 10 ) dataframe = ta. EMA ( dataframe, timeperiod = 5 ) dataframe = ta. TEMA ( dataframe, timeperiod = 9 ) dataframe = ta. SMA ( dataframe, timeperiod = 40 ) dataframe = ta. BBANDS ( dataframe, nbdevup = 2, nbdevdn = 2 ) dataframe = ta. STOCHF ( dataframe ) dataframe = stoch dataframe = stoch dataframe = ta. :param dataframe: Dataframe with data from the exchange :param metadata: Additional information, like the currently traded pair :return: a Dataframe with all mandatory indicators for the strategies """ dataframe = ta. Let uncomment only the indicator you are using in your strategies or your hyperopt configuration, otherwise you will waste your memory and CPU usage. The current version is 3 - which is also the default when it's not set explicitly in the strategy.įuture versions will require this to be set.ĭef populate_indicators ( self, dataframe : DataFrame, metadata : dict ) -> DataFrame : """ Adds several different TA indicators to the given DataFrame Performance Note: For the best performance be frugal on the number of indicators you are using. You can test it with the parameter: -strategy SampleStrategyĪdditionally, there is an attribute called INTERFACE_VERSION, which defines the version of the strategy interface the bot should use. The bot also include a sample strategy called SampleStrategy you can update: user_data/strategies/sample_strategy.py. Anatomy of a strategy ¶Ī strategy file contains all the information needed to build a good strategy: Use -template minimal to get an empty strategy without any indicator examples, or -template advanced to get a template with most callbacks defined. Different template levelsįreqtrade new-strategy has an additional parameter, -template, which controls the amount of pre-build information you get in the created strategy. This is just a template file, which will most likely not be profitable out of the box. Peeking into the future while backtesting Prevent trades from happening for a specific pairĬommon mistakes when developing strategies The example below shows the full_numbers type of pagination.Informative pairs decorator data (DataProvider) Furthermore, how the buttons are actually shownĬan be altered through the use of plug-in pagination renderers. The language strings of 'First', 'Previous' etc can be optionally changed through the internationalisation options of DataTables ,Īdditional options for the buttons that are shown can be added through the use of pagination type plug-ins. ![]() first_last_numbers - 'First' and 'Last' buttons, plus page numbers.full_numbers - 'First', 'Previous', 'Next' and 'Last' buttons, plus page numbers.full - 'First', 'Previous', 'Next' and 'Last' buttons.simple_numbers - 'Previous' and 'Next' buttons, plus page numbers.simple - 'Previous' and 'Next' buttons only.There are six built-in options for which pagination controls DataTables should show: This is done through DataTables' extensible pagination mechanism, the pagingType option. The default page control presented by DataTables (forward and backward buttons with up to 7 page numbers in-between) is fine for most situations, but thereĪre cases where you may wish to customise the options presented to the end user. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |