MCPcopy Create free account

hub / github.com/DVampire/FinAgent / functions

Functions330 in github.com/DVampire/FinAgent

↓ 1 callersMethod_process_price_and_features
(self, stocks = None, start_date = None, end_date = None)
finagent/processor/processor.py:233
↓ 1 callersMethod_process_sentiment
stocktwits_posts,twitter_posts, stocktwits_comments,twitter_comments, stocktwits_likes,twitter_likes, stocktwits_impr
finagent/processor/processor.py:474
↓ 1 callersMethod_update_proxy
(self)
finagent/downloader/custom.py:51
↓ 1 callersMethodbuy
(self, price, amount=1)
finagent/environment/trading.py:199
↓ 1 callersFunctioncal_factor
(df, level="day")
finagent/processor/processor.py:61
↓ 1 callersFunctioncal_guidance
(df)
finagent/processor/processor.py:46
↓ 1 callersFunctioncal_macd
(data, short_window, long_window)
finagent/plots/kline.py:17
↓ 1 callersFunctioncal_news
(df)
finagent/processor/processor.py:40
↓ 1 callersFunctioncal_sentiment
(df, columns)
finagent/processor/processor.py:51
↓ 1 callersFunctioncal_target
(df)
finagent/processor/processor.py:197
↓ 1 callersMethodcalculate_ATR
(self, data, atr_length=14)
finagent/tools/strategy_agents.py:361
↓ 1 callersMethodcalculate_kdj
Helper method to calculate the KDJ (K Percent, D Percent, J Percent) lines.
finagent/tools/strategy_agents.py:380
↓ 1 callersMethodcalculate_macd
Helper method to calculate the Moving Average Convergence Divergence (MACD).
finagent/tools/strategy_agents.py:370
↓ 1 callersMethodcalculate_rsi
Helper method to calculate the RSI (Relative Strength Index).
finagent/tools/strategy_agents.py:398
↓ 1 callersMethodcalculate_zigzag
(self,data, percentage_change=5)
finagent/tools/strategy_agents.py:338
↓ 1 callersFunctioncheck_china_ips
检测ip的方法
finagent/utils/get_proxy.py:8
↓ 1 callersFunctioncheck_json
(json_string)
finagent/utils/json_utils.py:25
↓ 1 callersMethodcheck_module
(self, name: str = None)
finagent/asset/base.py:71
↓ 1 callersFunctioncheck_us_ips
检测ip的方法
finagent/utils/get_proxy.py:25
↓ 1 callersMethodconvert_to_params
(self, state: Dict, info: Dict, par
finagent/prompt/trading/high_level_reflection.py:25
↓ 1 callersMethodconvert_to_params
(self, state: Dict, info: Dict,
finagent/prompt/trading/latest_market_intelligence_summary.py:26
↓ 1 callersMethodconvert_to_params
(self, state: Dict, info: Dict, par
finagent/prompt/trading/low_level_reflection.py:94
↓ 1 callersMethodconvert_to_params
(self, state: Dict, info: Dict,
finagent/prompt/trading/past_market_intelligence_summary.py:25
↓ 1 callersMethodcreate_completion
Create a completion from messages in text (and potentially also encoded images).
finagent/provider/base_llm.py:15
↓ 1 callersMethoddelete
Delete by keys. Args: keys: List of keys to delete. **kwargs: Other keyword arguments. Returns:
finagent/memory/faiss.py:90
↓ 1 callersMethoddiverse_query
(self, params: Dict, query_types: List[str] = ["plain", "short_ter
finagent/query/diverse_query.py:21
↓ 1 callersMethodembed_documents
Call out to OpenAI's embedding endpoint for embedding search docs. Args: texts: The list of texts to embed. Returns:
finagent/provider/provider.py:214
↓ 1 callersMethodeval_buy_position
(self, price)
finagent/environment/trading.py:189
↓ 1 callersMethodeval_sell_position
(self)
finagent/environment/trading.py:195
↓ 1 callersFunctionextract_query_type
(query_text: str)
finagent/query/query_types.py:34
↓ 1 callersFunctiongenerate_prompt_html
(params: Dict[str, Any], template: str)
finagent/prompt/helper.py:58
↓ 1 callersMethodget_asset_info
(self, symbol: str = None)
finagent/asset/base.py:62
↓ 1 callersFunctionget_china_free_proxy
(pages=10)
finagent/utils/get_proxy.py:42
↓ 1 callersFunctionget_jsonparsed_data
(url)
tools/get_stock_infos.py:10
↓ 1 callersFunctionget_jsonparsed_data
(url)
finagent/downloader/tools/fmp_economic_downloader.py:21
↓ 1 callersFunctionget_jsonparsed_data
(url)
finagent/downloader/tools/fmp_sentiment_downloader.py:21
↓ 1 callersFunctionget_jsonparsed_data
(url)
finagent/downloader/news/fmp_downloader.py:21
↓ 1 callersMethodget_kuaidaili_tunnel_proxy
(self)
finagent/utils/get_proxy.py:123
↓ 1 callersMethodget_module
(self, name: str = None)
finagent/asset/base.py:74
↓ 1 callersMethodget_response_dict
(self, provider, model, messages, check_keys: List[str] = None)
finagent/prompt/trading/high_level_reflection.py:63
↓ 1 callersMethodget_response_dict
(self, provider, model, messages
finagent/prompt/trading/latest_market_intelligence_summary.py:105
↓ 1 callersMethodget_response_dict
(self, provider, model, messages
finagent/prompt/trading/low_level_reflection.py:112
↓ 1 callersMethodget_response_dict
(self, provider, model, messages, check_keys: List[str] = None)
finagent/prompt/trading/decision.py:68
↓ 1 callersMethodget_response_dict
(self, provider, model, messages
finagent/prompt/trading/past_market_intelligence_summary.py:37
↓ 1 callersMethodget_seekingAlpha_analysis
(self, stock, start_timestamp, end_timestamp)
finagent/tools/rapid_apis.py:26
↓ 1 callersFunctionget_us_free_proxy
(pages=10)
finagent/utils/get_proxy.py:79
↓ 1 callersMethodhold_on
(self, price, amount=0)
finagent/environment/trading.py:231
↓ 1 callersMethodinit_provider
(self, provider_cfg )
finagent/provider/provider.py:72
↓ 1 callersFunctionmain
()
tools/data_process.py:48
↓ 1 callersFunctionmain
()
tools/download_sentiment.py:47
↓ 1 callersFunctionmain
()
tools/download_expert_knowledege.py:49
↓ 1 callersFunctionmain
()
tools/download_economic.py:47
↓ 1 callersFunctionmain
()
tools/main_mi_w_low_w_high_w_decision.py:62
↓ 1 callersFunctionmain
()
tools/main_mi_w_decision.py:62
↓ 1 callersFunctionmain
()
tools/main_mi_w_low_w_high_w_tool_w_decision.py:61
↓ 1 callersFunctionmain
()
tools/download_news.py:47
↓ 1 callersFunctionmain
()
tools/main_mi_w_low_w_decision.py:62
↓ 1 callersFunctionmain
()
tools/download_prices.py:48
↓ 1 callersFunctionmain
()
tools/get_stock_infos.py:15
↓ 1 callersFunctionmain
()
tools/main.py:62
↓ 1 callersFunctionmain
()
tools/main_strategy.py:62
↓ 1 callersFunctionmax_profit_with_actions
This function computes the maximum profit that can be made by buying and selling a stock with a fee. The function also returns the sequence o
finagent/trajectory/dynamic_programming.py:96
↓ 1 callersFunctionmax_profit_with_actions
This function computes the maximum profit that can be made by buying and selling a stock with a fee. The function also returns the sequence o
finagent/trajectory/dynamic_programming_threshold.py:96
↓ 1 callersFunctionmax_profit_with_actions_threshold
(prices, cash, fee_ratio, max_count_sell)
finagent/trajectory/dynamic_programming_threshold.py:172
↓ 1 callersFunctionparse_args
()
tools/data_process.py:19
↓ 1 callersFunctionparse_args
()
tools/download_sentiment.py:27
↓ 1 callersFunctionparse_args
()
tools/download_expert_knowledege.py:27
↓ 1 callersFunctionparse_args
()
tools/download_economic.py:27
↓ 1 callersFunctionparse_args
()
tools/main_mi_w_low_w_high_w_decision.py:29
↓ 1 callersFunctionparse_args
()
tools/main_mi_w_decision.py:29
↓ 1 callersFunctionparse_args
()
tools/main_mi_w_low_w_high_w_tool_w_decision.py:29
↓ 1 callersFunctionparse_args
()
tools/download_news.py:27
↓ 1 callersFunctionparse_args
()
tools/main_mi_w_low_w_decision.py:29
↓ 1 callersFunctionparse_args
()
tools/download_prices.py:19
↓ 1 callersFunctionparse_args
()
tools/main.py:29
↓ 1 callersFunctionparse_args
()
tools/main_strategy.py:29
↓ 1 callersFunctionparse_semi_formatted_xml
(text)
finagent/utils/json_utils.py:65
↓ 1 callersFunctionplot_kline
(df, title, save_path, now_date, width = 3.5,
finagent/plots/kline.py:23
↓ 1 callersFunctionplot_trading
(data, save_path, now_date = None, width=3.5,
finagent/plots/trading.py:11
↓ 1 callersMethodprocess
(self, stocks = None, start_date = None, end_date = None)
finagent/processor/processor.py:610
↓ 1 callersMethodquery_memory
( self, type: str, symbol: str, data: Dict, embedding_query: str,
finagent/memory/interface.py:115
↓ 1 callersFunctionrefine_json
(json_string)
finagent/utils/json_utils.py:32
↓ 1 callersFunctionrun_step
(cfg, state, info, plots, memory, provider, diverse_query, strategy_agents, exp_path, trading_records, mode)
tools/main_mi_w_low_w_high_w_decision.py:226
↓ 1 callersFunctionrun_step
(cfg, state, info, plots, memory, provider, diverse_query, strategy_agents, exp_path, trading_records, mode)
tools/main_mi_w_decision.py:226
↓ 1 callersFunctionrun_step
(cfg, state, info, plots, memory, provider, diverse_query, strategy_agents, exp_path, trading_records, mode)
tools/main_mi_w_low_w_high_w_tool_w_decision.py:225
↓ 1 callersFunctionrun_step
(cfg, state, info, plots, memory, provider, diverse_query, strategy_agents, exp_path, trading_records, mode)
tools/main_mi_w_low_w_decision.py:226
↓ 1 callersFunctionrun_step
(cfg, state, info, plots, memory, provider, diverse_query, strategy_agents, exp_path, trading_records, mode)
tools/main.py:226
↓ 1 callersFunctionrun_step
(cfg, state, info, plots, memory, provider, diverse_query, strategy_agents, exp_path, trading_records, mode)
tools/main_strategy.py:226
↓ 1 callersMethodsell
(self, price, amount=-1)
finagent/environment/trading.py:215
↓ 1 callersMethodsimilarity_search
Retrieve the keys from the vectorstores.
finagent/memory/basic_memory.py:48
↓ 1 callersFunctionstr2html
(doc: str)
finagent/prompt/helper.py:16
↓ 1 callersMethodstrategy0_Buy_and_Hold
Method to implement the Buy and Hold strategy. Returns a list of signals and explanations based on the Buy and Hold strategy.
finagent/tools/strategy_agents.py:62
↓ 1 callersFunctiontext_replace
(text: str, params: Dict[str, Any])
finagent/prompt/helper.py:20
FunctionARR
(ret)
finagent/metrics/metrics.py:3
FunctionCR
(ret, mdd)
finagent/metrics/metrics.py:31
FunctionDD
(ret)
finagent/metrics/metrics.py:11
FunctionMDD
(ret)
finagent/metrics/metrics.py:15
FunctionSOR
(ret, dd)
finagent/metrics/metrics.py:35
FunctionSR
(ret)
finagent/metrics/metrics.py:27
FunctionVOL
(ret)
finagent/metrics/metrics.py:7
← previousnext →101–200 of 330, ranked by callers