feat: integrate TradeSnap to fetch and append multi-timeframe screenshots to Notion page

This commit is contained in:
0xcathiefish
2026-06-01 05:56:41 +00:00
parent f54ba537a9
commit 777ca2d62a
9 changed files with 271 additions and 8 deletions
+18
View File
@@ -14,3 +14,21 @@ IS_TESTNET=true
NOTION_API_KEY=
# Notion Database ID to write trade records into
NOTION_DATABASE_ID=
# TradeSnap configuration
# Whether to enable TradingView chart screenshots (true/false)
ENABLE_SCREENSHOT=false
# The API URL of the TradeSnap service
TRADESNAP_URL=http://tradesnap:8003
# Ticker type switch: true to use BINANCE:{coin}USDT.P (USDT perp), false to use BINANCE:{coin}USDC.P (USDC perp)
BTCUSDT_SNAPSHOT=false
# Switch to enable/disable 15m screenshots
SYMBOL_15M_SNAPSHOT=false
# Switch to enable/disable 1h screenshots
SYMBOL_1H_SNAPSHOT=false
# Switch to enable/disable 4h screenshots
SYMBOL_4H_SNAPSHOT=false
# Switch to enable/disable 1D screenshots
SYMBOL_1D_SNAPSHOT=false