From 38f042703272b5bf7868184601eac61fd638eb6e Mon Sep 17 00:00:00 2001 From: konard Date: Fri, 27 Mar 2026 01:10:45 +0000 Subject: [PATCH 1/3] Initial commit with task details Adding .gitkeep for PR creation (default mode). This file will be removed when the task is complete. Issue: https://github.com/xlabtg/teleton-plugins/issues/63 --- .gitkeep | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitkeep b/.gitkeep index 80ab57e..741e0f9 100644 --- a/.gitkeep +++ b/.gitkeep @@ -1,2 +1,3 @@ # .gitkeep file auto-generated at 2026-03-19T10:37:13.073Z for PR creation at branch issue-19-f54b585823d1 for issue https://github.com/xlabtg/teleton-plugins/issues/19 -# Updated: 2026-03-27T01:04:44.761Z \ No newline at end of file +# Updated: 2026-03-27T01:04:44.761Z +# Updated: 2026-03-27T01:10:45.694Z \ No newline at end of file From 03f4a70edfacdf5acd94f9f4f42b6c6b0c5a1fbd Mon Sep 17 00:00:00 2001 From: konard Date: Fri, 27 Mar 2026 01:14:02 +0000 Subject: [PATCH 2/3] docs: fix ton-trading-bot tool count from 6 to 22 in README files The ton-trading-bot plugin was expanded from 6 to 22 tools but the documentation was not updated. This updates both the main README table and the plugin's own README architecture section and tools table to accurately reflect all 22 tools now present in manifest.json. Co-Authored-By: Claude Sonnet 4.6 --- README.md | 2 +- plugins/ton-trading-bot/README.md | 44 ++++++++++++++++++++++++++----- 2 files changed, 39 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 43e4d52..ff35d7b 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ No build step. Just copy and go. Plugins with npm dependencies are auto-installe | Plugin | Description | Tools | Author | |--------|-------------|:-----:|--------| -| [ton-trading-bot](plugins/ton-trading-bot/) | Atomic TON trading tools — market data, portfolio, risk validation, simulation, DEX swap | 6 | xlabtg | +| [ton-trading-bot](plugins/ton-trading-bot/) | Atomic TON trading tools — market data, portfolio, risk validation, simulation, DEX swap | 22 | xlabtg | | [gaspump](plugins/gaspump/) | Launch, trade, and manage meme tokens on Gas111/TON | 13 | teleton | | [stormtrade](plugins/stormtrade/) | Perpetual futures — crypto, stocks, forex, commodities | 13 | teleton | | [evaa](plugins/evaa/) | EVAA Protocol — supply, borrow, withdraw, repay, liquidate | 11 | teleton | diff --git a/plugins/ton-trading-bot/README.md b/plugins/ton-trading-bot/README.md index 00caa6a..c9544c7 100644 --- a/plugins/ton-trading-bot/README.md +++ b/plugins/ton-trading-bot/README.md @@ -14,12 +14,28 @@ This plugin follows the Teleton tool-provider pattern: Each tool does exactly one thing. The LLM composes them: ``` -1. ton_trading_get_market_data → see current prices and DEX quotes -2. ton_trading_get_portfolio → see wallet balance and open positions -3. ton_trading_validate_trade → check risk before acting -4. ton_trading_simulate_trade → paper-trade without real funds -5. ton_trading_execute_swap → execute a real DEX swap (DM-only) -6. ton_trading_record_trade → close a trade and log PnL + 1. ton_trading_get_market_data → see current prices and DEX quotes + 2. ton_trading_get_portfolio → see wallet balance and open positions + 3. ton_trading_validate_trade → check risk before acting + 4. ton_trading_simulate_trade → paper-trade without real funds + 5. ton_trading_execute_swap → execute a real DEX swap (DM-only) + 6. ton_trading_record_trade → close a trade and log PnL + 7. ton_trading_get_arbitrage_opportunities → find cross-DEX price differences + 8. ton_trading_get_token_listings → fetch recently listed tokens for sniping + 9. ton_trading_get_token_info → detailed token price, market cap, holders +10. ton_trading_validate_token → safety-check a token before sniping +11. ton_trading_get_top_traders → find top-performing wallets for copy trading +12. ton_trading_get_trader_performance → analyse on-chain performance of a wallet +13. ton_trading_get_active_pools → list active liquidity pools by volume +14. ton_trading_get_farms_with_apy → list yield farming opportunities with APY +15. ton_trading_get_pool_volume → detailed volume stats for a specific pool +16. ton_trading_backtest → replay a strategy against trade history +17. ton_trading_calculate_risk_metrics → VaR, drawdown, Sharpe, win/loss stats +18. ton_trading_set_stop_loss → register stop-loss and take-profit rules +19. ton_trading_check_stop_loss → query active rules and detect triggered ones +20. ton_trading_get_optimal_position_size → Kelly Criterion and fixed-fraction sizing +21. ton_trading_schedule_trade → store a pending trade for future execution +22. ton_trading_get_scheduled_trades → list pending scheduled trades ``` ## Tools @@ -32,6 +48,22 @@ Each tool does exactly one thing. The LLM composes them: | `ton_trading_simulate_trade` | Paper-trade using virtual balance (no real funds) | action | | `ton_trading_execute_swap` | Execute a real swap on STON.fi or DeDust (DM-only) | action | | `ton_trading_record_trade` | Close a trade and record final output / PnL | action | +| `ton_trading_get_arbitrage_opportunities` | Find cross-DEX price differences for a token pair | data-bearing | +| `ton_trading_get_token_listings` | Fetch recently listed tokens on TON DEXes for sniping | data-bearing | +| `ton_trading_get_token_info` | Detailed token info: price, market cap, holders, volume | data-bearing | +| `ton_trading_validate_token` | Safety-check a token: liquidity, volume, rug-pull signals | data-bearing | +| `ton_trading_get_top_traders` | Find top-performing trader wallets ranked by win rate | data-bearing | +| `ton_trading_get_trader_performance` | Analyse on-chain trading performance of a wallet | data-bearing | +| `ton_trading_get_active_pools` | List active liquidity pools sorted by 24-h volume | data-bearing | +| `ton_trading_get_farms_with_apy` | List yield farming opportunities with estimated APY | data-bearing | +| `ton_trading_get_pool_volume` | Detailed volume statistics for a specific pool | data-bearing | +| `ton_trading_backtest` | Replay a strategy against trade journal history | data-bearing | +| `ton_trading_calculate_risk_metrics` | VaR, max drawdown, Sharpe ratio, win/loss stats | data-bearing | +| `ton_trading_set_stop_loss` | Register a stop-loss and optional take-profit rule | action | +| `ton_trading_check_stop_loss` | Query active stop-loss rules and detect triggered ones | data-bearing | +| `ton_trading_get_optimal_position_size` | Kelly Criterion and fixed-fraction position sizing | data-bearing | +| `ton_trading_schedule_trade` | Store a pending trade for future execution | action | +| `ton_trading_get_scheduled_trades` | List pending scheduled trades and flag due ones | data-bearing | ## Install From 776718e9fc9d41d8a5a04edddcbdff73eb448b6e Mon Sep 17 00:00:00 2001 From: konard Date: Fri, 27 Mar 2026 01:14:32 +0000 Subject: [PATCH 3/3] Revert "Initial commit with task details" This reverts commit 38f042703272b5bf7868184601eac61fd638eb6e. --- .gitkeep | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitkeep b/.gitkeep index 741e0f9..80ab57e 100644 --- a/.gitkeep +++ b/.gitkeep @@ -1,3 +1,2 @@ # .gitkeep file auto-generated at 2026-03-19T10:37:13.073Z for PR creation at branch issue-19-f54b585823d1 for issue https://github.com/xlabtg/teleton-plugins/issues/19 -# Updated: 2026-03-27T01:04:44.761Z -# Updated: 2026-03-27T01:10:45.694Z \ No newline at end of file +# Updated: 2026-03-27T01:04:44.761Z \ No newline at end of file