MCPcopy Create free account

hub / github.com/CurvedLightGroup/MoonDev-Trading-Ai-Agents / functions

Functions284 in github.com/CurvedLightGroup/MoonDev-Trading-Ai-Agents

↓ 21 callersMethodrun
Run the risk agent (implements BaseAgent interface)
src/agents/risk_agent.py:568
↓ 16 callersFunctionget_position
Fetches the balance of a specific token given its mint address from a DataFrame. Parameters: - dataframe: A pandas DataFrame containing
src/nice_funcs.py:472
↓ 16 callersFunctiontoken_price
(address)
src/nice_funcs.py:454
↓ 10 callersMethod_make_request
Make API request with rate limiting and error handling
src/agents/coingecko_agent.py:398
↓ 10 callersFunctionmarket_sell
(QUOTE_TOKEN, amount, slippage)
src/nice_funcs.py:268
↓ 7 callersFunctionprint_section
Print a section header
src/agents/coingecko_agent.py:241
↓ 6 callersMethodget_portfolio_value
Calculate total portfolio value in USD
src/agents/risk_agent.py:118
↓ 6 callersMethodhandle_limit_breach
Handle breached risk limits with AI consultation if enabled
src/agents/risk_agent.py:453
↓ 6 callersFunctionmarket_buy
(token, amount, slippage)
src/nice_funcs.py:225
↓ 5 callersMethod_format_number_for_speech
Convert numbers to speech-friendly format
src/agents/whale_agent.py:250
↓ 4 callersMethod_fetch_csv
Fetch CSV data from the API
src/agents/api.py:109
↓ 4 callersFunctionfetch_wallet_token_single
(address, token_mint_address)
src/nice_funcs.py:444
↓ 4 callersFunctionget_decimals
(token_mint_address)
src/nice_funcs.py:512
↓ 4 callersFunctionhandlePollingError
(message = "Processing is taking longer than expected...")
src/frontend/static/js/main.js:294
↓ 4 callersFunctionrun_with_animation
Run a function with a fun loading animation
src/agents/rbi_agent.py:394
↓ 3 callersMethod_announce
Announce a message, only use voice for whale alerts
src/agents/whale_agent.py:555
↓ 3 callersMethodclose_all_positions
Close all monitored positions except USDC and SOL
src/agents/risk_agent.py:376
↓ 3 callersFunctioncollect_token_data
Collect OHLCV data for a single token
src/data/ohlcv_collector.py:15
↓ 3 callersFunctionprocessPhase
(phaseElement, messages, timing)
src/frontend/static/js/main.js:84
↓ 2 callersMethod_check_schedule
Check if current time is within scheduled hours
src/agents/focus_agent.py:137
↓ 2 callersMethod_get_current_oi
Get current open interest data from API
src/agents/whale_agent.py:258
↓ 2 callersMethod_make_request
Make API request with rate limiting and error handling
src/scripts/coingecko_exchangeless_tokens.py:55
↓ 2 callersMethodanalyze
Analyze a token and provide insights
src/agents/listingarb_agent.py:181
↓ 2 callersFunctioncollect_all_tokens
Collect OHLCV data for all monitored tokens
src/data/ohlcv_collector.py:48
↓ 2 callersFunctionfetch_wallet_holdings_og
(address)
src/nice_funcs.py:404
↓ 2 callersMethodget_coin_market_data
Get current market data for a coin Args: id: Coin ID (e.g. 'bitcoin')
src/agents/coingecko_agent.py:444
↓ 2 callersMethodget_current_pnl
Calculate current PnL based on start balance
src/agents/risk_agent.py:553
↓ 2 callersMethodget_funding_data
Get funding data from API
src/agents/api.py:138
↓ 2 callersFunctionget_funding_rates
Get current funding rate for a specific coin on Hyperliquid Args: symbol (str): Trading pair symbol (e.g., 'BTC', 'ETH', 'FART')
src/nice_funcs_hl.py:264
↓ 2 callersMethodget_liquidation_data
Get liquidation data from API, limited to last N rows by default
src/agents/api.py:134
↓ 2 callersMethodget_oi_data
Get detailed open interest data from API
src/agents/api.py:150
↓ 2 callersFunctionget_time_range
()
src/nice_funcs.py:313
↓ 2 callersMethodinit_sentiment_model
Initialize the BERT model for sentiment analysis
src/agents/sentiment_agent.py:116
↓ 2 callersFunctionprepare_data
(filepath)
src/data/rbi/backtests/VengeanceTrender_BT.py:14
↓ 2 callersFunctionprint_banner
Print a fun colorful banner
src/agents/coingecko_agent.py:235
↓ 2 callersFunctionprint_pretty_json
(data)
src/nice_funcs.py:48
↓ 2 callersFunctionprocess_trading_idea
Process a single trading idea completely independently
src/agents/rbi_agent.py:552
↓ 2 callersFunctionround_down
(value, decimals)
src/nice_funcs.py:324
↓ 2 callersMethodrun_analysis_cycle
Run a complete portfolio analysis cycle
src/agents/copybot_agent.py:277
↓ 2 callersMethodrun_trading_cycle
Run one complete trading cycle
src/agents/trading_agent.py:382
↓ 2 callersMethodsave_memory
Save agent's memory to file
src/agents/coingecko_agent.py:291
↓ 2 callersMethodsave_memory
Save agent memory
src/agents/listingarb_agent.py:175
↓ 2 callersMethodthink
Process market data and other agent's message to make decisions
src/agents/coingecko_agent.py:296
↓ 2 callersFunctionupdatePhase
(phaseElement, status = 'active')
src/frontend/static/js/main.js:72
↓ 1 callersMethod_analyze_chart
Analyze chart data using Claude
src/agents/chartanalysis_agent.py:157
↓ 1 callersMethod_analyze_opportunity
Get AI analysis of the whale movement
src/agents/whale_agent.py:373
↓ 1 callersMethod_analyze_opportunity
Analyze a funding opportunity with AI
src/agents/fundingarb_agent.py:135
↓ 1 callersMethod_analyze_opportunity
Get AI analysis of the opportunity
src/agents/funding_agent.py:150
↓ 1 callersMethod_analyze_opportunity
Get AI analysis of the liquidation event
src/agents/liquidation_agent.py:284
↓ 1 callersMethod_announce
Announce a message using text-to-speech
src/agents/sentiment_agent.py:150
↓ 1 callersMethod_announce
Announce message using OpenAI TTS
src/agents/fundingarb_agent.py:246
↓ 1 callersMethod_announce
Announce message with optional voice
src/agents/focus_agent.py:201
↓ 1 callersMethod_announce
Announce message using OpenAI TTS
src/agents/chartanalysis_agent.py:282
↓ 1 callersMethod_announce
Announce message using OpenAI TTS
src/agents/funding_agent.py:348
↓ 1 callersMethod_announce
Announce message using OpenAI TTS
src/agents/liquidation_agent.py:435
↓ 1 callersMethod_calculate_changes
Calculate OI changes for the configured interval
src/agents/whale_agent.py:310
↓ 1 callersMethod_chunk_text
Split text into chunks of MAX_CHUNK_SIZE characters
src/agents/tweet_agent.py:134
↓ 1 callersMethod_cleanup_old_charts
Remove all existing charts from the charts directory
src/agents/chartanalysis_agent.py:389
↓ 1 callersMethod_create_focus_log
Create empty focus history CSV
src/agents/focus_agent.py:288
↓ 1 callersMethod_detect_significant_changes
Detect extreme funding rates and analyze opportunities
src/agents/funding_agent.py:272
↓ 1 callersMethod_detect_whale_activity
Detect if current change is significantly above rolling average
src/agents/whale_agent.py:636
↓ 1 callersMethod_format_announcement
Format OI changes into a speech-friendly message with whale detection and AI analysis
src/agents/whale_agent.py:487
↓ 1 callersMethod_format_announcement
Format the voice announcement
src/agents/fundingarb_agent.py:228
↓ 1 callersMethod_format_announcement
Format analysis into speech-friendly message
src/agents/chartanalysis_agent.py:261
↓ 1 callersMethod_format_announcement
Format funding rate changes and analysis into a speech-friendly message
src/agents/funding_agent.py:314
↓ 1 callersMethod_format_announcement
Format liquidation analysis into a speech-friendly message
src/agents/liquidation_agent.py:404
↓ 1 callersMethod_generate_chart
Generate a chart using mplfinance
src/agents/chartanalysis_agent.py:110
↓ 1 callersMethod_get_current_funding
Get current funding rate data
src/agents/funding_agent.py:393
↓ 1 callersMethod_get_current_liquidations
Get current liquidation data
src/agents/liquidation_agent.py:179
↓ 1 callersMethod_get_historical_oi
Get OI data from X minutes ago
src/agents/whale_agent.py:294
↓ 1 callersMethod_get_input_text
Get input text from either file or direct input
src/agents/tweet_agent.py:139
↓ 1 callersFunction_get_ohlcv
Internal function to fetch OHLCV data from Hyperliquid
src/nice_funcs_hl.py:32
↓ 1 callersMethod_get_random_interval
Get random interval between MIN and MAX minutes
src/agents/focus_agent.py:145
↓ 1 callersMethod_load_analysis_log
Load or create AI analysis log
src/agents/listingarb_agent.py:296
↓ 1 callersMethod_load_token_history
Load or create token history DataFrame
src/agents/coingecko_agent.py:523
↓ 1 callersMethod_log_focus_data
Log focus data to CSV
src/agents/focus_agent.py:294
↓ 1 callersMethod_print_colored_tweet
Print tweet with color based on its position
src/agents/tweet_agent.py:151
↓ 1 callersFunction_process_data_to_df
Convert raw API data to DataFrame
src/nice_funcs_hl.py:92
↓ 1 callersMethod_save_oi_data
Save new OI data point with change percentages
src/agents/whale_agent.py:187
↓ 1 callersMethod_save_to_history
Save current funding data to history
src/agents/funding_agent.py:418
↓ 1 callersMethod_save_to_history
Save current liquidation data to history
src/agents/liquidation_agent.py:463
↓ 1 callersMethod_should_analyze_token
Check if token needs analysis based on last analysis time
src/agents/listingarb_agent.py:413
↓ 1 callersFunctionadd_technical_indicators
Add technical indicators to the dataframe
src/nice_funcs_hl.py:120
↓ 1 callersFunctionadjust_timestamp
Adjust API timestamps by subtracting the timestamp offset.
src/nice_funcs_hl.py:25
↓ 1 callersMethodallocate_portfolio
Get AI-recommended portfolio allocation
src/agents/trading_agent.py:165
↓ 1 callersMethodanalyze_and_announce_sentiment
Analyze sentiment of tweets and announce results
src/agents/sentiment_agent.py:253
↓ 1 callersMethodanalyze_focus
Analyze focus level from transcript
src/agents/focus_agent.py:236
↓ 1 callersMethodanalyze_market_data
Analyze market data using Claude
src/agents/trading_agent.py:84
↓ 1 callersMethodanalyze_position
Analyze a single portfolio position
src/agents/copybot_agent.py:90
↓ 1 callersMethodanalyze_sentiment
Analyze sentiment of a batch of texts
src/agents/sentiment_agent.py:123
↓ 1 callersMethodanalyze_symbol
Analyze a single symbol on a specific timeframe
src/agents/chartanalysis_agent.py:310
↓ 1 callersMethodanalyze_tokens_parallel
Analyze a batch of tokens in parallel
src/agents/listingarb_agent.py:425
↓ 1 callersFunctionbot
()
src/ezbot.py:32
↓ 1 callersMethodcheck_pnl_limits
Check if PnL limits have been hit
src/agents/risk_agent.py:337
↓ 1 callersMethodcheck_token_exchanges
Get exchanges where a token is listed
src/scripts/coingecko_exchangeless_tokens.py:103
↓ 1 callersFunctioncleanup_old_memory_files
Clean up old memory files from previous naming conventions
src/agents/coingecko_agent.py:251
↓ 1 callersFunctioncreate_backtest
Backtest Agent: Creates backtest implementation
src/agents/rbi_agent.py:438
↓ 1 callersFunctiondebug_backtest
Debug Agent: Fixes technical issues in backtest code
src/agents/rbi_agent.py:459
↓ 1 callersMethodevaluate_signals
Have LLM evaluate strategy signals
src/agents/strategy_agent.py:78
↓ 1 callersMethodexecute_allocations
Execute the allocations using AI entry for each position
src/agents/trading_agent.py:230
next →1–100 of 284, ranked by callers