Skip to content

Examples startup#2

Merged
xsa-dev merged 2 commits intomainfrom
examples-startup
Jul 31, 2025
Merged

Examples startup#2
xsa-dev merged 2 commits intomainfrom
examples-startup

Conversation

@xsa-dev
Copy link
Copy Markdown
Owner

@xsa-dev xsa-dev commented Jul 31, 2025

No description provided.

xsa-dev added 2 commits July 31, 2025 20:28
- Add simple_working_backtest.rs: working backtest example using direct SDK
- Add working_data_fetch.rs: working data fetching example with API testing
- Update popular trading pairs in data.rs based on API testing
- Demonstrate correct approach to Hyperliquid API integration
- Fix basic_backtest.rs to use hyperliquid_rust_sdk directly instead of broken wrapper
- Fix simple_data_fetching.rs to use correct API approach with proper error handling
- Add anyhow dependency to Cargo.toml for error handling
- Both examples now successfully fetch data and run backtests
- Demonstrate proper data conversion from SDK format to internal format
@xsa-dev xsa-dev self-assigned this Jul 31, 2025
@xsa-dev xsa-dev merged commit 6255233 into main Jul 31, 2025
1 of 2 checks passed
@xsa-dev xsa-dev deleted the examples-startup branch July 31, 2025 17:39
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.

1 participant