Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CurvedLightGroup/MoonDev-Trading-Ai-Agents
/ functions
Functions
284 in github.com/CurvedLightGroup/MoonDev-Trading-Ai-Agents
⨍
Functions
284
◇
Types & classes
36
↳
Endpoints
5
Method
__init__
Initialize the CopyBot agent with LLM
src/agents/copybot_agent.py:68
Method
__init__
Initialize the Strategy Agent
src/agents/strategy_agent.py:50
Method
__init__
Initialize Moon Dev's Risk Agent 🛡️
src/agents/risk_agent.py:64
Method
__init__
Initialize the Focus Agent
src/agents/focus_agent.py:78
Method
__init__
Initialize the Tweet Agent
src/agents/tweet_agent.py:81
Method
__init__
(self)
src/agents/trading_agent.py:79
Method
__init__
(self, name: str, model: str = None)
src/agents/coingecko_agent.py:269
Method
__init__
(self)
src/agents/coingecko_agent.py:387
Method
__init__
(self)
src/agents/coingecko_agent.py:517
Method
__init__
(self)
src/agents/coingecko_agent.py:590
Method
__init__
(self, name: str, model: str)
src/agents/listingarb_agent.py:140
Method
__init__
(self)
src/agents/listingarb_agent.py:290
Method
__init__
Initialize Chuck the Chart Agent
src/agents/chartanalysis_agent.py:75
Method
__init__
Initialize base agent with type
src/agents/base_agent.py:13
Method
__init__
Initialize Fran the Funding Agent
src/agents/funding_agent.py:97
Method
__init__
Initialize Luna the Liquidation Agent
src/agents/liquidation_agent.py:87
Method
_announce_initial_summary
Announce the current state of the market based on existing data
src/agents/whale_agent.py:585
Function
addProgressMessage
(phaseElement, message)
src/frontend/static/js/main.js:65
Function
ai_entry
AI agent entry function for Moon Dev's trading system 🤖
src/nice_funcs.py:1054
Function
analyze_strategy
(request: Request, background_tasks: BackgroundTasks)
src/frontend/main.py:137
Method
analyze_token
Have both agents analyze a token
src/agents/listingarb_agent.py:442
Function
animate_progress
Fun animation while agent is thinking
src/agents/rbi_agent.py:368
Method
audio_generator
()
src/agents/focus_agent.py:158
Function
breakout_entry
(symbol, BREAKOUT_PRICE)
src/nice_funcs.py:954
Function
chat_with_deepseek
Chat with DeepSeek API or fallback to default model based on setting
src/agents/rbi_agent.py:270
Method
check_risk_limits
Check if any risk limits have been breached
src/agents/risk_agent.py:417
Function
chunk_kill
Kill a position in chunks
src/nice_funcs.py:658
Function
cleanup_temp_data
()
src/nice_funcs.py:40
Function
close_all_positions
()
src/nice_funcs.py:802
Method
combine_with_portfolio
Combine strategy signals with current portfolio state
src/agents/strategy_agent.py:191
Function
copyToClipboard
(button)
src/frontend/static/js/main.js:329
Function
count_browser_tabs
Count approximate number of open browser tabs
src/scripts/openlinks_intabs.py:20
Function
cycleMessages
(element, messages)
src/frontend/static/js/main.js:54
Function
delete_dont_overtrade_file
()
src/nice_funcs.py:820
Function
download_backtest
Download a backtest file
src/frontend/main.py:169
Function
download_strategy
Download a strategy file
src/frontend/main.py:154
Function
elegant_entry
(symbol, buy_under)
src/nice_funcs.py:872
Method
generate_signals
Generate trading signals based on MA crossover
src/strategies/example_strategy.py:19
Method
generate_signals
(self)
src/strategies/custom/example_strategy.py:7
Method
get_coin_history
Get historical data for a coin at a specific date Args: id: Coin ID (e.g. 'bitcoin') date: Date in DD-MM-YYYY
src/agents/coingecko_agent.py:474
Method
get_coin_market_chart
Get historical market data Args: id: Coin ID (e.g. 'bitcoin') vs_currency: Currency (e.g. 'usd')
src/agents/coingecko_agent.py:484
Method
get_coin_ohlc
Get coin's OHLC data Args: id: Coin ID (e.g. 'bitcoin') vs_currency: Currency (e.g. 'usd') days:
src/agents/coingecko_agent.py:499
Method
get_exchange_rates
Get BTC-to-Currency exchange rates
src/agents/coingecko_agent.py:469
Method
get_exchanges
Get all exchanges data
src/agents/coingecko_agent.py:464
Function
get_model_id
Get DR/DC identifier based on model
src/agents/rbi_agent.py:205
Method
get_ping
Check API server status
src/agents/coingecko_agent.py:416
Method
get_price
Get current price data for coins Args: ids: Coin ID(s) (e.g. 'bitcoin' or ['bitcoin', 'ethereum']) vs_currenc
src/agents/coingecko_agent.py:424
Function
get_results
Get current processing results
src/frontend/main.py:184
Function
get_token_balance_usd
Get the USD value of a token position for Moon Dev's wallet 🌙
src/nice_funcs.py:1158
Function
home
Render the home page
src/frontend/main.py:60
Method
init
(self)
src/data/rbi/backtests_final/EMAVolumeSync_BTFinal.py:32
Method
init
(self)
src/data/rbi/backtests_final/VengeanceTrend_BTFinal.py:33
Method
init
(self)
src/data/rbi/backtests_final/MomentumRejection_BTFinal.py:35
Method
init
(self)
src/data/rbi/backtests/EMAVolumeSync_BT.py:36
Method
init
(self)
src/data/rbi/backtests/MomentumRejection_BT.py:39
Method
init
(self)
src/data/rbi/backtests/TrendVengeance_BT.py:17
Method
init
(self)
src/data/rbi/backtests/VengeanceTrender_BT.py:40
Method
init
(self)
src/data/rbi/backtests_package/VengeanceTrend_PKG.py:33
Method
init
(self)
src/data/rbi/backtests_package/MomentumRejection_PKG.py:35
Method
init
(self)
src/data/rbi/backtests_package/EMAVolumeSync_PKG.py:32
Method
init
(self)
src/scripts/deepseek_backtest.py:13
Method
next
(self)
src/data/rbi/backtests_final/EMAVolumeSync_BTFinal.py:48
Method
next
(self)
src/data/rbi/backtests_final/VengeanceTrend_BTFinal.py:38
Method
next
(self)
src/data/rbi/backtests_final/MomentumRejection_BTFinal.py:48
Method
next
(self)
src/data/rbi/backtests/EMAVolumeSync_BT.py:52
Method
next
(self)
src/data/rbi/backtests/MomentumRejection_BT.py:48
Method
next
(self)
src/data/rbi/backtests/TrendVengeance_BT.py:30
Method
next
(self)
src/data/rbi/backtests/VengeanceTrender_BT.py:45
Method
next
(self)
src/data/rbi/backtests_package/VengeanceTrend_PKG.py:38
Method
next
(self)
src/data/rbi/backtests_package/MomentumRejection_PKG.py:44
Method
next
(self)
src/data/rbi/backtests_package/EMAVolumeSync_PKG.py:48
Method
parse_portfolio_allocation
Parse portfolio allocation from text response
src/agents/trading_agent.py:347
Function
patched_client
(*args, **kwargs)
src/scripts/twitter_login.py:35
Function
patched_client
(*args, **kwargs)
src/agents/sentiment_agent.py:59
Function
pnl_close
this will check to see if price is > sell 1, sell 2, sell 3 and sell accordingly
src/nice_funcs.py:543
Function
process_strategy_background
Process strategies in the background
src/frontend/main.py:67
Method
run
Run the trading agent (implements BaseAgent interface)
src/agents/trading_agent.py:378
Method
run
Default run method - should be overridden by child classes
src/agents/base_agent.py:18
Function
sell_token
Sell a token
src/nice_funcs.py:715
Method
should_override_limit
Ask AI if we should override the limit based on recent market data
src/agents/risk_agent.py:233
Function
supply_demand_zones
(token_address, timeframe, limit)
src/nice_funcs.py:827
Function
token_creation_info
output sampel = Token Creation Info: { 'decimals': 9, 'owner': 'AGWdoU4j4MGJTkSor7ZSkNiF8oPe15754hsuLmwcEyzC', 'slot': 242801308,
src/nice_funcs.py:199
Function
token_overview
Fetch token overview for a given address and return structured information, including specific links, and assess if any price change suggests
src/nice_funcs.py:59
Function
token_security_info
bigmatter freeze authority is like renouncing ownership on eth Token Security Info: { 'creationSlot': 242801308, 'creationTime': 170
src/nice_funcs.py:145
← previous
201–284 of 284, ranked by callers