if you're building an AI agent that facilitates swaps i suggest checking out the bankr trading API. add advanced order types to your agent. example repo: docs: