diff --git a/src/strategy_crypto/strategy_crypto/strategies/btc_9cf506b8.json b/src/strategy_crypto/strategy_crypto/strategies/archive/btc_9cf506b8.json similarity index 100% rename from src/strategy_crypto/strategy_crypto/strategies/btc_9cf506b8.json rename to src/strategy_crypto/strategy_crypto/strategies/archive/btc_9cf506b8.json diff --git a/src/strategy_crypto/strategy_crypto/strategies/eth_facd6af85d5d.json b/src/strategy_crypto/strategy_crypto/strategies/archive/eth_facd6af85d5d.json similarity index 100% rename from src/strategy_crypto/strategy_crypto/strategies/eth_facd6af85d5d.json rename to src/strategy_crypto/strategy_crypto/strategies/archive/eth_facd6af85d5d.json diff --git a/src/strategy_crypto/strategy_crypto/strategies/btc_238e4812.json b/src/strategy_crypto/strategy_crypto/strategies/btc_238e4812.json new file mode 100644 index 0000000..c71f491 --- /dev/null +++ b/src/strategy_crypto/strategy_crypto/strategies/btc_238e4812.json @@ -0,0 +1,84 @@ +{ + "rules": [ + { + "condition": { + "op": "and", + "args": [ + { + "op": "gt", + "args": [ + { + "kind": "indicator", + "name": "realized_vol", + "params": [ + 150 + ] + }, + { + "kind": "literal", + "value": 0.007 + } + ] + }, + { + "op": "lt", + "args": [ + { + "kind": "indicator", + "name": "atr_pct", + "params": [ + 150 + ] + }, + { + "kind": "literal", + "value": 0.0042 + } + ] + } + ] + }, + "action": "entry-long" + }, + { + "condition": { + "op": "or", + "args": [ + { + "op": "crossunder", + "args": [ + { + "kind": "indicator", + "name": "rsi", + "params": [ + 14 + ] + }, + { + "kind": "literal", + "value": 70.0 + } + ] + }, + { + "op": "gt", + "args": [ + { + "kind": "indicator", + "name": "atr_pct", + "params": [ + 150 + ] + }, + { + "kind": "literal", + "value": 0.007 + } + ] + } + ] + }, + "action": "exit" + } + ] +} diff --git a/src/strategy_crypto/strategy_crypto/strategies/eth_c04dff7086.json b/src/strategy_crypto/strategy_crypto/strategies/eth_c04dff7086.json new file mode 100644 index 0000000..0ae6b50 --- /dev/null +++ b/src/strategy_crypto/strategy_crypto/strategies/eth_c04dff7086.json @@ -0,0 +1,120 @@ +{ + "rules": [ + { + "condition": { + "op": "and", + "args": [ + { + "op": "lt", + "args": [ + { + "kind": "indicator", + "name": "rsi", + "params": [ + 14 + ] + }, + { + "kind": "literal", + "value": 30.0 + } + ] + }, + { + "op": "gt", + "args": [ + { + "kind": "indicator", + "name": "atr_pct", + "params": [ + 14 + ] + }, + { + "kind": "literal", + "value": 0.01 + } + ] + }, + { + "op": "lt", + "args": [ + { + "kind": "indicator", + "name": "macd_pct", + "params": [ + 12, + 26, + 9 + ] + }, + { + "kind": "literal", + "value": -0.005 + } + ] + } + ] + }, + "action": "entry-long" + }, + { + "condition": { + "op": "or", + "args": [ + { + "op": "gt", + "args": [ + { + "kind": "indicator", + "name": "rsi", + "params": [ + 14 + ] + }, + { + "kind": "literal", + "value": 70.0 + } + ] + }, + { + "op": "lt", + "args": [ + { + "kind": "indicator", + "name": "atr_pct", + "params": [ + 14 + ] + }, + { + "kind": "literal", + "value": 0.005 + } + ] + }, + { + "op": "gt", + "args": [ + { + "kind": "indicator", + "name": "macd_pct", + "params": [ + 12, + 26, + 9 + ] + }, + { + "kind": "literal", + "value": 0.005 + } + ] + } + ] + }, + "action": "exit" + } + ] +}