Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
44 changes: 38 additions & 6 deletions plugins/ton-trading-bot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
Loading