Prompt Content
Develop simple Python functions that simulate 'buy_energy(units, price)' and 'sell_energy(units, price)' on a mock energy exchange. Show how your 'Trader Agent', powered by OpenAI o3, would integrate and use these tools to execute trading decisions based on market analysis from other agents.
Try this prompt
Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.
Related Prompts
Explore similar prompts from our community
Usage Tips
Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)
Customize placeholder values with your specific requirements and context
For best results, provide clear examples and test different variations