MCPcopy Create free account

hub / github.com/danikhan632/Auto-GPT-AlpacaTrader-Plugin / functions

Functions48 in github.com/danikhan632/Auto-GPT-AlpacaTrader-Plugin

↓ 2 callersMethodmonitor
(self, symbol)
src/auto_gpt_alpacatrader_plugin/trader.py:186
↓ 1 callersMethodget_sym_news
(self,symbol)
src/auto_gpt_alpacatrader_plugin/trader.py:145
Method__del__
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:256
Method__init__
(self)
src/auto_gpt_alpacatrader_plugin/__init__.py:23
Method__init__
(self, experiment=False)
src/auto_gpt_alpacatrader_plugin/trader.py:26
Method_monitor
(symbol)
src/auto_gpt_alpacatrader_plugin/trader.py:187
Methodadd_to_watchlist
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:128
Methodcan_handle_chat_completion
This method is called to check that the plugin can handle the chat_completion method. Args: messages (List[Message]): Th
src/auto_gpt_alpacatrader_plugin/__init__.py:240
Methodcan_handle_on_instruction
This method is called to check that the plugin can handle the on_instruction method. Returns: bool: True if the plugin can
src/auto_gpt_alpacatrader_plugin/__init__.py:172
Methodcan_handle_on_planning
This method is called to check that the plugin can handle the on_planning method. Returns: bool: True if the plugin can ha
src/auto_gpt_alpacatrader_plugin/__init__.py:123
Methodcan_handle_on_response
This method is called to check that the plugin can handle the on_response method. Returns: bool: True if the plugin can ha
src/auto_gpt_alpacatrader_plugin/__init__.py:112
Methodcan_handle_post_command
This method is called to check that the plugin can handle the post_command method. Returns: bool: True if the plugin can h
src/auto_gpt_alpacatrader_plugin/__init__.py:223
Methodcan_handle_post_instruction
This method is called to check that the plugin can handle the post_instruction method. Returns: bool: True if the plugin c
src/auto_gpt_alpacatrader_plugin/__init__.py:188
Methodcan_handle_post_planning
This method is called to check that the plugin can handle the post_planning method. Returns: bool: True if the plugin can
src/auto_gpt_alpacatrader_plugin/__init__.py:140
Methodcan_handle_post_prompt
This method is called to check that the plugin can handle the post_prompt method. Returns: bool: True if the plugin can ha
src/auto_gpt_alpacatrader_plugin/__init__.py:105
Methodcan_handle_pre_command
This method is called to check that the plugin can handle the pre_command method. Returns: bool: True if the plugin can ha
src/auto_gpt_alpacatrader_plugin/__init__.py:204
Methodcan_handle_pre_instruction
This method is called to check that the plugin can handle the pre_instruction method. Returns: bool: True if the plugin ca
src/auto_gpt_alpacatrader_plugin/__init__.py:156
Methodcan_handle_report
This method is called to check that the plugin can handle the report method. Returns: bool: True if the plugin can handle
src/auto_gpt_alpacatrader_plugin/__init__.py:279
Methodcan_handle_text_embedding
(self)
src/auto_gpt_alpacatrader_plugin/__init__.py:295
Methodcan_handle_user_input
This method is called to check that the plugin can handle the user_input method. Args: user_input (str): The user input.
src/auto_gpt_alpacatrader_plugin/__init__.py:255
Methodcheck_price_changes
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:205
Methodclose_all_trades
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:69
Methodclose_trade
(self,symbol)
src/auto_gpt_alpacatrader_plugin/trader.py:47
Methodget_account_information
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:73
Methodget_current_price
(self, symbol)
src/auto_gpt_alpacatrader_plugin/trader.py:217
Methodget_day_percent_change
(self, symbol)
src/auto_gpt_alpacatrader_plugin/trader.py:221
Methodget_ideas
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:170
Methodget_large_movers
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:157
Methodget_market_sentiment
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:132
Methodget_positions
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:80
Methodget_positions_info
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:124
Methodget_watchlist
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:126
Methodhandle_chat_completion
This method is called when the chat completion is done. Args: messages (List[Message]): The messages. model (str): The
src/auto_gpt_alpacatrader_plugin/__init__.py:91
Methodhandle_text_embedding
(self)
src/auto_gpt_alpacatrader_plugin/__init__.py:297
Methodis_market_open
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:228
Methodon_instruction
This method is called when the instruction chat is done. Args: messages (List[Message]): The list of context messages. Ret
src/auto_gpt_alpacatrader_plugin/__init__.py:179
Methodon_planning
This method is called before the planning chat completion is done. Args: prompt (PromptGenerator): The prompt generator.
src/auto_gpt_alpacatrader_plugin/__init__.py:130
Methodon_response
This method is called when a response is received from the model.
src/auto_gpt_alpacatrader_plugin/__init__.py:119
Methodplace_trade
(self, symbol, quantity, side, order_type, time_in_force)
src/auto_gpt_alpacatrader_plugin/trader.py:91
Methodpos_to_json
(pos)
src/auto_gpt_alpacatrader_plugin/trader.py:81
Methodpost_command
This method is called after the command is executed. Args: command_name (str): The command name. response (str): The r
src/auto_gpt_alpacatrader_plugin/__init__.py:230
Methodpost_instruction
This method is called after the instruction chat is done. Args: response (str): The response. Returns: str: Th
src/auto_gpt_alpacatrader_plugin/__init__.py:195
Methodpost_planning
This method is called after the planning chat completion is done. Args: response (str): The response. Returns:
src/auto_gpt_alpacatrader_plugin/__init__.py:147
Methodpost_prompt
(self, prompt: PromptGenerator)
src/auto_gpt_alpacatrader_plugin/__init__.py:31
Methodpre_command
This method is called before the command is executed. Args: command_name (str): The command name. arguments (Dict[str,
src/auto_gpt_alpacatrader_plugin/__init__.py:211
Methodpre_instruction
This method is called before the instruction chat is done. Args: messages (List[Message]): The list of context messages. R
src/auto_gpt_alpacatrader_plugin/__init__.py:163
Methodreport
This method is called to report a message to the user. Args: message (str): The message to report.
src/auto_gpt_alpacatrader_plugin/__init__.py:287
Methoduser_input
This method is called to request user input to the user. Args: user_input (str): The question or prompt to ask the user.
src/auto_gpt_alpacatrader_plugin/__init__.py:267