From 4935a317a6dd8a9ce0fe84d9e10ad6c926aec92d Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 3 Dec 2024 20:59:43 +0100 Subject: [PATCH] obsolete --- strategies/buy.example.conf | 56 ------------------------------- strategies/sell.example.conf | 65 ------------------------------------ 2 files changed, 121 deletions(-) delete mode 100755 strategies/buy.example.conf delete mode 100755 strategies/sell.example.conf diff --git a/strategies/buy.example.conf b/strategies/buy.example.conf deleted file mode 100755 index 85fbce9..0000000 --- a/strategies/buy.example.conf +++ /dev/null @@ -1,56 +0,0 @@ - -# remove this line if you are fine with this settings and want to use them on your own risk!!! -# It is strongly recommended to test this strategy first via analyze.sh!!! -return 1 - - -# GOOD_MARKET_PERFORMANCE_INDEX defines from which growth the market is considered good/favorable for investment. -# The market performance is calculated from the average percentage development of various indicators such as development MSCI World, Bitcoin and Ethereum as well as forecasts. -# for details see functions/market_performance.sh -# If the market performance is under this value no buying will be done -local GOOD_MARKET_PERFORMANCE_INDEX="100" - -###### BUY CONDITIONS ###### - -### RSI Indicator checks -# Don't buy if the RSI-XX value is >= BUY_RSIXX_BUY_SIGNAL_UNTIL -local BUY_RSI5_SIGNAL_UNTIL="0" -local BUY_RSI14_SIGNAL_UNTIL="0" -local BUY_RSI21_SIGNAL_UNTIL="0" -local BUY_RSI60_SIGNAL_UNTIL="0" -local BUY_RSI120_SIGNAL_UNTIL="0" -local BUY_RSI240_SIGNAL_UNTIL="0" -local BUY_RSI420_SIGNAL_UNTIL="0" -local BUY_RSI720_SIGNAL_UNTIL="0" - -# Don't buy if the RSI-XX value is <= BUY_RSIXX_BUY_SIGNAL_FROM -local BUY_RSI5_SIGNAL_FROM="0" -local BUY_RSI14_SIGNAL_FROM="0" -local BUY_RSI21_SIGNAL_FROM="0" -local BUY_RSI60_SIGNAL_FROM="0" -local BUY_RSI120_SIGNAL_FROM="0" -local BUY_RSI240_SIGNAL_FROM="0" -local BUY_RSI420_SIGNAL_FROM="0" -local BUY_RSI720_SIGNAL_FROM="0" - - -### MACD Indicator Checks -# Don't buy if MACD Histogram Relation is not between this values. -# The ratio is calculated by the difference between the maximum positive Histogram value (of the defined time period) and the current value. -# Here you can specify a percentage range. -# If only the buy signal should be considered, simply specify the range 0 and 100. -# decimal numbers are not allowed here. -local BUY_MACD_RELATION_FROM="0" -local BUY_MACD_RELATION_TO="0" - -# Don't buy if price change is under this percentage values -local BUY_MIN_PRICE_CHANGE_LAST_1_DAY="0.25" -local BUY_MIN_PRICE_CHANGE_LAST_7_DAY="-1" -local BUY_MIN_PRICE_CHANGE_LAST_14_DAY="-2" -local BUY_MIN_PRICE_CHANGE_LAST_30_DAY="-5" - - -# Dont buy if growth in the last defined time period <= BUY_MINGROWTH -local BUY_MINGROWTH_PERIOD="30" -local BUY_MINGROWTH="-10" - diff --git a/strategies/sell.example.conf b/strategies/sell.example.conf deleted file mode 100755 index 17b2333..0000000 --- a/strategies/sell.example.conf +++ /dev/null @@ -1,65 +0,0 @@ -# remove this line if you are fine with this settings and want to use them on your own risk!!! -# It is strongly recommended to test this strategy first via analyze.sh!!! -return 1 - - -# GOOD_MARKET_PERFORMANCE_INDEX defines from which growth the market is considered good/favorable for investment. -# The market performance is calculated from the average percentage development of various indicators such as development MSCI World, Bitcoin and Ethereum as well as forecasts. -# for details see functions/market_performance.sh -# If the market performance is under this value no buying will be done -local GOOD_MARKET_PERFORMANCE_INDEX="2" - -# Force hold if result negative expect SELL_PERCENTAGE_FROM_LAST_PURCHASE_NEGATIVE. Boolean 1 for true 0 for false. -local SELL_HOLD_IF_RESULT_NEGATIVE="1" - -# If the price falls by this percentage value from the purchase price, then sell in any case -local SELL_PERCENTAGE_FROM_LAST_PURCHASE_NEGATIVE="-10" - -# from here only if SELL_HOLD_IF_RESULT_NEGATIVE doesn't match - -# If the price falls by this percentage value from the last rate -local SELL_IF_LAST_RATE_LOWER_THEN="-0.25" - -### RSI Indicator checks - -# SELL if the RSI-XX value is <= SELL_RSIXX_SELL_SIGNAL_UNTIL -local SELL_RSI5_SIGNAL_UNTIL="99" -local SELL_RSI14_SIGNAL_UNTIL="99" -local SELL_RSI21_SIGNAL_UNTIL="99" -local SELL_RSI60_SIGNAL_UNTIL="99" -local SELL_RSI120_SIGNAL_UNTIL="99" -local SELL_RSI240_SIGNAL_UNTIL="99" -local SELL_RSI420_SIGNAL_UNTIL="99" -local SELL_RSI720_SIGNAL_UNTIL="99" - -# SELL if the RSI-XX value is >= SELL_RSIXX_SELL_SIGNAL_FROM -local SELL_RSI5_SIGNAL_FROM="90" -local SELL_RSI14_SIGNAL_FROM="90" -local SELL_RSI21_SIGNAL_FROM="90" -local SELL_RSI60_SIGNAL_FROM="70" -local SELL_RSI120_SIGNAL_FROM="50" -local SELL_RSI240_SIGNAL_FROM="50" -local SELL_RSI420_SIGNAL_FROM="50" -local SELL_RSI720_SIGNAL_FROM="50" - -# If the price after this time period is lower the the trading fee, then sell if SELL_HOLD_IF_RESULT_NEGATIVE is fine with it -local SELL_IF_LOWER_THEN_FEE_AFTER_PERIOD="7200" - -### MACD Indicator Checks -# Sell if MACD Histogram relation is < this value -# The ratio is calculated by the difference between the maximum negative Histogram value (of the defined time period) and the current value. -# Here you can specify a percentage range. -# If only the sell signal should be considered, simply specify 0 -# decimal numbers are not allowed here. -local SELL_MACD_RELATION_FROM="25" - -### Take profit/loss -local TAKE_PROFIT_CHECK_AFTER_POSTITIVE_RESULTS="1" -local TAKE_PROFIT_CHECK_AT_FEE_PLUS="0.5" -local TAKE_PROFIT_CHECK_AT_FACTOR="1.25" - -local TAKE_LOSS_CHECK_AFTER_NEGATIVE_RESULTS="5" -local TAKE_LOSS_CHECK_AT_FEE_PLUS="0" -local TAKE_LOSS_CHECK_AT_FACTOR="2" - -