A real-time price tracker built using Flutter, BLoC (Business Logic Component) architecture, and WebSocket connection to monitor prices in Deriv markets.
- Select from a variety of markets available in Deriv.
- Based on market selection, choose from a list of available symbols.
- Display the current price of the selected symbol with color-coded text:
- Grey: Default color, indicating an unchanged price.
- Red: Indicates a price decrease.
- Green: Indicates a price increase.
- Real-time updates through WebSocket connection for accurate and timely price information.
- Efficiently manage state and business logic using BLoC architecture.
- Smooth user experience with loading indicators during symbol fetching and price updates.
- The application starts with a loading indicator in the center while fetching active symbols using WebSocket connection.
- After selecting a market and a symbol, a loading indicator is shown in place of the symbol price while the new price stream is fetching through the WebSocket connection.
- The price text color dynamically changes to reflect price fluctuations in real-time, providing immediate insights to users.
- Users can easily switch symbols, and the app will repeat the process mentioned in the previous step to display updated prices with loading indicators.
Ensure you have Flutter installed on your machine. Follow the Flutter installation guide here.
- Clone this repository to your local machine.
- Navigate to the project directory in your terminal.
- Connect your mobile device or start an emulator.
- Run the following command to install dependencies:
- Run the app on your device/emulator:
flutter pub get
flutter run
For more information about the Deriv WebSocket API, please refer to the official documentation here.
Enhance your trading experience with this user-friendly Price Tracker app that leverages Flutter, BLoC architecture, and WebSocket connection for real-time price monitoring.