LeoYelton / ASpringBootHelloWorld

0 stars 0 forks source link

Sweep: 帮我写个量化交易程序 #1

Closed LeoYelton closed 6 months ago

LeoYelton commented 6 months ago
Checklist - [X] Create `src/main/java/org/example/trading/TradingLogic.java` ✗ [Edit](https://github.com/LeoYelton/ASpringBootHelloWorld/edit/sweep/_6b424/src/main/java/org/example/trading/TradingLogic.java) - [X] Running GitHub Actions for `src/main/java/org/example/trading/TradingLogic.java` ✗ [Edit](https://github.com/LeoYelton/ASpringBootHelloWorld/edit/sweep/_6b424/src/main/java/org/example/trading/TradingLogic.java) - [X] Modify `pom.xml` ! No changes made [Edit](https://github.com/LeoYelton/ASpringBootHelloWorld/edit/sweep/_6b424/pom.xml#L6-L8) - [X] Running GitHub Actions for `pom.xml` ✗ [Edit](https://github.com/LeoYelton/ASpringBootHelloWorld/edit/sweep/_6b424/pom.xml#L6-L8)
LeoYelton commented 6 months ago
Sweeping

50%

Actions (click)


❌ Unable to Complete PR

I'm sorry, but it looks like an error has occurred due to a planning failure. Feel free to add more details to the issue description so Sweep can better address it. Alternatively, reach out to Kevin or William for help at https://discord.gg/sweep.

For bonus GPT-4 tickets, please report this bug on Discord (tracking ID: 85b6a7cce7).


Please look at the generated plan. If something looks wrong, please add more details to your issue.

File Path Proposed Changes
src/main/java/org/example/trading/TradingLogic.java Create src/main/java/org/example/trading/TradingLogic.java with contents:
- In the new file, TradingLogic.java, we will add the necessary methods and fields to handle the trading logic. This may include fields for holding the current portfolio, methods for placing trades, and any necessary data structures for storing financial data.
- We will also need to import any necessary libraries for financial data analysis and trading. This may include libraries such as Apache Commons Math or JQuantlib.
pom.xml Modify pom.xml with contents:
- In the pom.xml file, we will need to add the necessary dependencies for the trading logic. This may include dependencies for financial libraries, as well as any necessary data feeds for financial data.
- We will also need to ensure that the Java version specified in the pom.xml file is compatible with the necessary libraries.

🎉 Latest improvements to Sweep:
  • New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
  • Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
  • Use the GitHub issues extension for creating Sweep issues directly from your editor.

💡 To recreate the pull request edit the issue title or description.

This is an automated message generated by Sweep AI.