All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Fyersnow derivesClone.- Authorization header is now precomputed and stored as a
HeaderValue.
- Async
Fyersclient for interacting with Fyers REST endpoints. Fyers::place_orderfor placing orders.Fyers::cancel_orderfor canceling a single order.Fyers::cancel_pending_ordersfor canceling all pending orders for a given position.Fyers::exit_all_positionsfor closing all open positions.Fyers::historyfor retrieving historical market data.Fyers::profilefor fetching account profile information.- Strongly-typed request builders (
OrderRequest,HistoryRequest). - Typed response models for endpoints.
- Unified error type:
FyersError.
- Crate expanded beyond authentication to include core trading and market data APIs.
- The crate now provides a type-safe interface to commonly used Fyers REST endpoints.
- WebSocket APIs and less commonly used endpoints are not yet implemented.
- Add missing query param to
generate_url.
- Re-export
Tokensfromauth.
auth::errormodule is now public.AuthErroris also re-exported fromauth.
- Authentication helpers for the Fyers API.
- Support for generating an authorization URL for the interactive login flow.
- Support for exchanging an authorization code for access and refresh tokens.
- Support for refreshing an access token using a refresh token.
- Error handling for authentication-related failures.
- Example demonstrating the complete authentication flow.
- This release focuses exclusively on authentication.
- Token persistence, refresh scheduling, and lifecycle management are expected to be handled by the application.
- Trading, orders, positions, and market data APIs are not yet implemented.