@@ -28,6 +28,7 @@ import {
28
28
} from "./snapshots" ;
29
29
import { IQuotes , quotes } from "./quotes" ;
30
30
import { ITradesQuotesQuery , ITrades , trades } from "./trades" ;
31
+ import { ISummaries , ISummariesQuery , summaries } from "./summaries" ;
31
32
32
33
export { IAggsQuery , IAggs } from "./aggregates" ;
33
34
export {
@@ -59,6 +60,7 @@ export interface IStocksClient {
59
60
date : string ,
60
61
query ?: IAggsGroupedDailyQuery
61
62
) => Promise < IAggsGroupedDaily > ;
63
+ summaries : ( query ?: ISummariesQuery ) => Promise < ISummaries > ;
62
64
dailyOpenClose : (
63
65
symbol : string ,
64
66
date : string ,
@@ -87,6 +89,7 @@ export const stocksClient = (
87
89
) : IStocksClient => ( {
88
90
aggregates : auth ( apiKey , aggregates , apiBase ) ,
89
91
aggregatesGroupedDaily : auth ( apiKey , aggregatesGroupedDaily , apiBase ) ,
92
+ summaries : auth ( apiKey , summaries , apiBase ) ,
90
93
dailyOpenClose : auth ( apiKey , dailyOpenClose , apiBase ) ,
91
94
lastQuote : auth ( apiKey , lastQuote , apiBase ) ,
92
95
lastTrade : auth ( apiKey , lastTrade , apiBase ) ,
0 commit comments