Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Jupiter Limit Order actions #324

Merged
merged 8 commits into from
Mar 17, 2025
Merged

Conversation

dimitrov-d
Copy link
Contributor

@dimitrov-d dimitrov-d commented Mar 15, 2025

Pull Request Description

This PR implements new actions and tools to create and manage limit orders using the Jupiter Limit API

Changes Made

This PR adds the following changes:

  • Added action and tool to create limit orders on Jupiter with given parameters
  • Added action and tool to get open limit orders on Jupiter
  • Added action and tool to cancel open limit orders on Jupiter
    • Added action and tool to view order history on Jupiter

Implementation Details

Transaction executed by agent

Example transaction: https://solscan.io/tx/4bXsLBwQ7HywUKTFSiABMQNJTCYDrNLFV4qLoqq9jbnWktLbijPC8poeTvA1MLtmtTiU2QsawDLcwzSLGB4dDKLv

Prompt Used

- Create a Limit order on Solana to swap my USDC to SOL when SOL reaches $100
- Create a Limit order to sell 0.1 SOL when it reaches $300
- Cancel my open limit orders on Jupiter

Checklist

  • I have tested these changes locally
  • I have added a transaction link
  • I have added the prompt used to test it

@michaelessiet michaelessiet merged commit 3fff6c9 into sendaifun:main Mar 17, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants