Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danikhan632/Auto-GPT-AlpacaTrader-Plugin
/ functions
Functions
48 in github.com/danikhan632/Auto-GPT-AlpacaTrader-Plugin
⨍
Functions
48
◇
Types & classes
3
↓ 2 callers
Method
monitor
(self, symbol)
src/auto_gpt_alpacatrader_plugin/trader.py:186
↓ 1 callers
Method
get_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
Method
add_to_watchlist
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:128
Method
can_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
Method
can_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
Method
can_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
Method
can_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
Method
can_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
Method
can_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
Method
can_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
Method
can_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
Method
can_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
Method
can_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
Method
can_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
Method
can_handle_text_embedding
(self)
src/auto_gpt_alpacatrader_plugin/__init__.py:295
Method
can_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
Method
check_price_changes
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:205
Method
close_all_trades
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:69
Method
close_trade
(self,symbol)
src/auto_gpt_alpacatrader_plugin/trader.py:47
Method
get_account_information
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:73
Method
get_current_price
(self, symbol)
src/auto_gpt_alpacatrader_plugin/trader.py:217
Method
get_day_percent_change
(self, symbol)
src/auto_gpt_alpacatrader_plugin/trader.py:221
Method
get_ideas
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:170
Method
get_large_movers
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:157
Method
get_market_sentiment
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:132
Method
get_positions
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:80
Method
get_positions_info
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:124
Method
get_watchlist
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:126
Method
handle_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
Method
handle_text_embedding
(self)
src/auto_gpt_alpacatrader_plugin/__init__.py:297
Method
is_market_open
(self)
src/auto_gpt_alpacatrader_plugin/trader.py:228
Method
on_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
Method
on_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
Method
on_response
This method is called when a response is received from the model.
src/auto_gpt_alpacatrader_plugin/__init__.py:119
Method
place_trade
(self, symbol, quantity, side, order_type, time_in_force)
src/auto_gpt_alpacatrader_plugin/trader.py:91
Method
pos_to_json
(pos)
src/auto_gpt_alpacatrader_plugin/trader.py:81
Method
post_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
Method
post_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
Method
post_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
Method
post_prompt
(self, prompt: PromptGenerator)
src/auto_gpt_alpacatrader_plugin/__init__.py:31
Method
pre_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
Method
pre_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
Method
report
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
Method
user_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