diff --git a/src/alpaca/exchange.ts b/src/alpaca/exchange.ts index 70269f3..2d701d0 100644 --- a/src/alpaca/exchange.ts +++ b/src/alpaca/exchange.ts @@ -4,6 +4,7 @@ import { AlpacaQuoteProvider } from './quote'; import { Exchange } from '../interface/exchange'; import { PortfolioProvider } from '../interface/portfolio'; import { QuoteProvider } from '../interface/quote'; +import { ActionProvider } from '../interface/actions'; /** * Exchange implementation for Alpaca. @@ -24,6 +25,11 @@ export class AlpacaExchange implements Exchange { */ readonly quoteProvider: QuoteProvider; + /** + * The action provider for the exchange. + */ + readonly actionProvider: ActionProvider; + /** * The name of the exchange. */ @@ -45,6 +51,7 @@ export class AlpacaExchange implements Exchange { this.portfolioProvider = new AlpacaPortfolioProvider(this.alpaca); this.quoteProvider = new AlpacaQuoteProvider(this.alpaca); + this.actionProvider = undefined!; this.name = 'Alpaca'; }