ODIN Market Feed SDK

A Dart SDK for connecting to ODIN Market Feed WebSocket service for real-time market data streaming.

Features

  • Real-time WebSocket market data streaming
  • Built-in compression support
  • Subscribe/Unsubscribe to market touchline data
  • Subscribe/Unsubscribe to Best Five quotes
  • Subscribe/Unsubscribe to LTP Touchline data
  • Pause/Resume broadcast subscriptions

Installation

Add this to your pubspec.yaml:

dependencies:
  odin_market_feed:
    git:
      url: https://github.com/SIPL-Dev/dart-odinmarketfeedclient.git
      ref: main

Usage

import 'package:odin_market_feed/odin_market_feed_sdk.dart';

void main() async {
  final client = ODINMarketFeedClient();
  
  client.onOpen = () => print('Connected');
  client.onMessage = (msg) => print('Data: $msg');
  
  await client.connect('host', 8080, true, 'user', 'key');
  await client.subscribeLTPTouchline(['1_26000']);
}

License

MIT License - see LICENSE file for details.

Support

GitHub Issues: https://github.com/SIPL-Dev/dart-odinmarketfeedclient/issues

Libraries

odin_market_feed_client
ODIN Market Feed SDK