example-feed-simple
v0.0.1
Published
This package demonstrates a simple usage of the `@thinkalpha/feed-cache` library.
Readme
example-feed-simple
This package demonstrates a simple usage of the @thinkalpha/feed-cache library.
Features
- Simple Quote Management: Basic implementation of quote handling.
- Direct Subscription: Demonstrates how to subscribe to quotes directly.
- Console Output: Displays quote updates in the console.
Installation
To install dependencies, run:
pnpm installRunning the Example
To run the example locally:
pnpm startThis will start the application, connect to the quote server, and subscribe to 'AAPL' and 'TSLA'.
Project Structure
src/run.ts: Entry point of the application.src/QuotesStore.ts: Implementation of the quote store.src/SimpleQuote.ts: Basic quote class implementation.
