kiteconnect-ts
    TypeScript icon, indicating that this package has built-in type declarations

    0.2.0 • Public • Published

    Kite Connect

    Unofficial library for the Kite Connect trading APIs, written in TypeScript.

    Installation

    Install via npm

    npm install kiteconnect-ts
    

    Add via yarn

    yarn add kiteconnect-ts
    

    KiteConnect

    Coming soon!

    KiteTicker

    import { KiteTicker, TickFull } from 'kiteconnectts';
    
    const ticker: KiteTicker = new KiteTicker({
      apiKey: 'YOUR_API_KEY',
      accessToken: 'YOUR_ACCESS_TOKEN',
    });
    
    ticker.on('ticks', (ticks: TickFull) => {
      console.log('Ticks', ticks);
    });
    
    ticker.on('connect', () => {
      const items = [738561];
      ticker.subscribe(items);
    });
    
    ticker.connect();

    Install

    npm i kiteconnect-ts

    DownloadsWeekly Downloads

    4

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    141 kB

    Total Files

    29

    Last publish

    Collaborators

    • anuragroy