Clean up unused files, organize structure, update docs
- Delete obsolete files: data_fetcher_old.py, market_old.py, base_strategy.py (root), strategy_sma_cross.py, and old architecture remnants (address_monitor.py, position_monitor.py, trade_log.py, wallet_data.py, whale_tracker.py) - Delete zero-byte Docker artifacts and runtime files (clp_hedger.log, clp_hedger/hedge_status.json) - Move one-off utility scripts to scripts/ directory - Move example/template files to .temp/ directory - Update .gitignore: add entries for clp_hedger.log, clp_hedger/hedge_status.json, Docker layer hash files, Using, Running, and backups/ - Update .dockerignore: add clp_hedger.log, clp_hedger/hedge_status.json, backups/ - Create example config files: _data/strategies.json.example, _data/backtesting_conf.json.example, _data/coin_precision.json.example - Update GEMINI.md: remove outdated session summaries and duplicate review section - Update review.md: add cleanup status section, update remaining recommendations - Update MIGRATION_PLAN.md: mark completed phases, update file references - Update DOCKER_MIGRATION_GUIDE.md: update import_csv.py path reference
This commit is contained in:
18
_data/backtesting_conf.json.example
Normal file
18
_data/backtesting_conf.json.example
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"sma_cross_eth_5m": {
|
||||
"strategy_name": "sma_cross_1",
|
||||
"script": "strategies.ma_cross_strategy.MaCrossStrategy",
|
||||
"optimization_params": {
|
||||
"fast": {
|
||||
"start": 5,
|
||||
"end": 150,
|
||||
"step": 1
|
||||
},
|
||||
"slow": {
|
||||
"start": 0,
|
||||
"end": 0,
|
||||
"step": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -4,6 +4,7 @@
|
||||
"AAVE": 2,
|
||||
"ACE": 2,
|
||||
"ADA": 0,
|
||||
"AERO": 0,
|
||||
"AI": 1,
|
||||
"AI16Z": 1,
|
||||
"AIXBT": 0,
|
||||
@ -20,11 +21,11 @@
|
||||
"ATOM": 2,
|
||||
"AVAX": 2,
|
||||
"AVNT": 0,
|
||||
"AXS": 1,
|
||||
"AZTEC": 0,
|
||||
"BABY": 0,
|
||||
"BADGER": 1,
|
||||
"BANANA": 1,
|
||||
"BASH": 0,
|
||||
"BATH": 0,
|
||||
"BCH": 3,
|
||||
"BERA": 1,
|
||||
"BIGTIME": 0,
|
||||
@ -40,13 +41,17 @@
|
||||
"BTC": 5,
|
||||
"CAKE": 1,
|
||||
"CANTO": 0,
|
||||
"CASHCAT": 0,
|
||||
"CATI": 0,
|
||||
"CC": 0,
|
||||
"CELO": 0,
|
||||
"CFX": 0,
|
||||
"CHILLGUY": 0,
|
||||
"CHIP": 0,
|
||||
"COMP": 2,
|
||||
"CRV": 1,
|
||||
"CYBER": 1,
|
||||
"DASH": 2,
|
||||
"DOGE": 0,
|
||||
"DOOD": 0,
|
||||
"DOT": 1,
|
||||
@ -61,6 +66,7 @@
|
||||
"FARTCOIN": 1,
|
||||
"FET": 0,
|
||||
"FIL": 1,
|
||||
"FOGO": 0,
|
||||
"FRIEND": 1,
|
||||
"FTM": 0,
|
||||
"FTT": 1,
|
||||
@ -70,6 +76,7 @@
|
||||
"GMT": 0,
|
||||
"GMX": 2,
|
||||
"GOAT": 0,
|
||||
"GRAM": 0,
|
||||
"GRASS": 1,
|
||||
"GRIFFAIN": 0,
|
||||
"HBAR": 0,
|
||||
@ -78,6 +85,7 @@
|
||||
"HPOS": 0,
|
||||
"HYPE": 2,
|
||||
"HYPER": 0,
|
||||
"ICP": 1,
|
||||
"ILV": 2,
|
||||
"IMX": 1,
|
||||
"INIT": 0,
|
||||
@ -96,6 +104,7 @@
|
||||
"LINEA": 0,
|
||||
"LINK": 1,
|
||||
"LISTA": 0,
|
||||
"LIT": 0,
|
||||
"LOOM": 0,
|
||||
"LTC": 2,
|
||||
"MANTA": 1,
|
||||
@ -163,11 +172,13 @@
|
||||
"SCR": 1,
|
||||
"SEI": 0,
|
||||
"SHIA": 0,
|
||||
"SKR": 0,
|
||||
"SKY": 0,
|
||||
"SNX": 1,
|
||||
"SOL": 2,
|
||||
"SOPH": 0,
|
||||
"SPX": 1,
|
||||
"STABLE": 0,
|
||||
"STBL": 0,
|
||||
"STG": 0,
|
||||
"STRAX": 0,
|
||||
@ -201,10 +212,9 @@
|
||||
"WLFI": 0,
|
||||
"XAI": 1,
|
||||
"XLM": 0,
|
||||
"XMR": 3,
|
||||
"XPL": 0,
|
||||
"XRP": 0,
|
||||
"XYZ:CLUSD": 2,
|
||||
"xyz:BRENTOIL": 2,
|
||||
"YGG": 0,
|
||||
"YZY": 0,
|
||||
"ZEC": 2,
|
||||
@ -220,6 +230,5 @@
|
||||
"kLUNC": 0,
|
||||
"kNEIRO": 1,
|
||||
"kPEPE": 0,
|
||||
"kSHIB": 0,
|
||||
"xyz:CLUSD": 2
|
||||
"kSHIB": 0
|
||||
}
|
||||
10
_data/coin_precision.json.example
Normal file
10
_data/coin_precision.json.example
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"BTC": 5,
|
||||
"ETH": 4,
|
||||
"SOL": 2,
|
||||
"BNB": 3,
|
||||
"HYPE": 2,
|
||||
"SUI": 1,
|
||||
"0G": 0,
|
||||
"2Z": 0
|
||||
}
|
||||
50
_data/strategies.json.example
Normal file
50
_data/strategies.json.example
Normal file
@ -0,0 +1,50 @@
|
||||
{
|
||||
"sma_cross_1": {
|
||||
"enabled": false,
|
||||
"class": "strategies.ma_cross_strategy.MaCrossStrategy",
|
||||
"agent": "scalper_agent",
|
||||
"parameters": {
|
||||
"coin": "ETH",
|
||||
"timeframe": "15m",
|
||||
"short_ma": 7,
|
||||
"long_ma": 44,
|
||||
"size": 0.0055,
|
||||
"leverage_long": 5,
|
||||
"leverage_short": 5
|
||||
}
|
||||
},
|
||||
"sma_44d_btc": {
|
||||
"enabled": false,
|
||||
"class": "strategies.single_sma_strategy.SingleSmaStrategy",
|
||||
"parameters": {
|
||||
"agent": "swing",
|
||||
"coin": "BTC",
|
||||
"timeframe": "1d",
|
||||
"sma_period": 44,
|
||||
"size": 0.0001,
|
||||
"leverage_long": 3,
|
||||
"leverage_short": 1
|
||||
}
|
||||
},
|
||||
"copy_trader_eth": {
|
||||
"enabled": true,
|
||||
"is_event_driven": true,
|
||||
"class": "strategies.copy_trader_strategy.CopyTraderStrategy",
|
||||
"parameters": {
|
||||
"agent": "scalper",
|
||||
"target_address": "0x32885a6adac4375858E6edC092EfDDb0Ef46484C",
|
||||
"coins_to_copy": {
|
||||
"ETH": {
|
||||
"size": 0.0055,
|
||||
"leverage_long": 3,
|
||||
"leverage_short": 3
|
||||
},
|
||||
"BTC": {
|
||||
"size": 0.0002,
|
||||
"leverage_long": 1,
|
||||
"leverage_short": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user