Prompting Tips and Tricks
You need to specify how you want the agent to buy keys and how you want the agent to sell keys.
If you only tell it to buy keys, it won't ever decide to sell.
Your custom prompt injections are very important. It's how your AI Agent gets context of market state. If you don't have any, or they are setup improperly, your AI Agent wont have data to go off of.
The order of your prompt is important as well. Sometimes putting actions that are less frequent at the top ensures your AI Agent will check whether to do that first.
For example, let's say you want your agent to buy high volume keys as long as they are cheaper than $50 per key. You want to sell any key if it 3x's in price.
A good way to write that would be:
"Sell any key we own if the current price is 3x greater than our average cost. Otherwise, buy high volume keys that are cheaper than $50 per key."
Include a custom prompt injection for volume - sort_desc - 25
Now your agent will check to see if you have a profitable sell first. If not, it will buy a high volume key.
If you flipped the prompt to:
"Buy high volume keys that are cheaper than $50 per key. Otherwise, sell any key we own if the current price is 3x greater than our average cost."
Your AI agent may buy a high volume key even if there is a key your Agent owns that meets the sell trigger.
Lastly, sometimes overprompting can remove the creativity from the AI agent and make it too rigid. Experiment with giving it lots of room for creativity vs a more structured approach to trading.
Last updated