worldtradingdata
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -0,10 +1,10 @@ | ||
import { RealTimeResponse, RealTimeResponseData } from "./models/realTimeResponse"; | ||
import { IntradayMarketResponse, Intraday, DayData } from "./models/intradayMarketResponse"; | ||
import { HistoricalMarketResponse, Historical } from "./models/historicalMarketResponse"; | ||
import { StockSearchResponse, StockSeatchData } from "./models/stockSearchResponse"; | ||
import { WorldTradingDataWrapper } from "./worldTradingDataWrapper"; | ||
import { RealTimeResponse } from "./models/realTimeResponse"; | ||
import { IntradayMarketResponse } from "./models/intradayMarketResponse"; | ||
import { HistoricalMarketResponse } from "./models/historicalMarketResponse"; | ||
import { MultiSingleDayHistoryResponse } from "./models/multiSingleDayHistoryResponse"; | ||
import { StockSearchResponse } from "./models/stockSearchResponse"; | ||
import { MultiSingleDayHistoryResponse, DayHistoryStock } from "./models/multiSingleDayHistoryResponse"; | ||
import { ForexResponse } from "./models/forexResponse"; | ||
import { ForexHistoryResponse } from "./models/forexHistoryResponse"; | ||
import { ForexSingleDay } from "./models/forexSingleDay"; | ||
export { WorldTradingDataWrapper, RealTimeResponse, IntradayMarketResponse, HistoricalMarketResponse, MultiSingleDayHistoryResponse, StockSearchResponse, ForexResponse, ForexHistoryResponse, ForexSingleDay }; | ||
export { WorldTradingDataWrapper, RealTimeResponse, IntradayMarketResponse, HistoricalMarketResponse, MultiSingleDayHistoryResponse, StockSearchResponse, ForexResponse, ForexHistoryResponse, ForexSingleDay, Intraday, DayData, RealTimeResponseData, StockSeatchData, Historical, DayHistoryStock }; |
@@ -6,5 +6,4 @@ import { DayData } from "./dayData"; | ||
} | ||
interface Historical { | ||
export interface Historical { | ||
[key: string]: DayData; | ||
} | ||
export {}; |
@@ -7,6 +7,6 @@ export interface IntradayMarketResponse { | ||
} | ||
interface Intraday { | ||
export interface Intraday { | ||
[key: string]: DayData; | ||
} | ||
interface DayData { | ||
export interface DayData { | ||
open: string; | ||
@@ -18,2 +18,1 @@ close: string; | ||
} | ||
export {}; |
import { DayData } from "./dayData"; | ||
export interface MultiSingleDayHistoryResponse { | ||
date: Date; | ||
data: Stock; | ||
data: DayHistoryStock; | ||
} | ||
interface Stock { | ||
export interface DayHistoryStock { | ||
[key: string]: DayData; | ||
} | ||
export {}; |
export interface RealTimeResponse { | ||
symbols_requested: number; | ||
symbols_returned: number; | ||
data: Data[]; | ||
data: RealTimeResponseData[]; | ||
} | ||
interface Data { | ||
export interface RealTimeResponseData { | ||
symbol: string; | ||
@@ -30,2 +30,1 @@ name: string; | ||
} | ||
export {}; |
@@ -9,3 +9,3 @@ export interface StockSearchResponse { | ||
} | ||
interface StockSeatchData { | ||
export interface StockSeatchData { | ||
symbol: string; | ||
@@ -18,2 +18,1 @@ name: string; | ||
} | ||
export {}; |
{ | ||
"name": "worldtradingdata", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "Node.js wrapper for World Trading Data API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -0,7 +1,28 @@ | ||
import { | ||
RealTimeResponse, | ||
RealTimeResponseData | ||
} from "./models/realTimeResponse"; | ||
import { | ||
IntradayMarketResponse, | ||
Intraday, | ||
DayData | ||
} from "./models/intradayMarketResponse"; | ||
import { | ||
HistoricalMarketResponse, | ||
Historical | ||
} from "./models/historicalMarketResponse"; | ||
import { | ||
StockSearchResponse, | ||
StockSeatchData | ||
} from "./models/stockSearchResponse"; | ||
import { WorldTradingDataWrapper } from "./worldTradingDataWrapper"; | ||
import { RealTimeResponse } from "./models/realTimeResponse"; | ||
import { IntradayMarketResponse } from "./models/intradayMarketResponse"; | ||
import { HistoricalMarketResponse } from "./models/historicalMarketResponse"; | ||
import { MultiSingleDayHistoryResponse } from "./models/multiSingleDayHistoryResponse"; | ||
import { StockSearchResponse } from "./models/stockSearchResponse"; | ||
import { | ||
MultiSingleDayHistoryResponse, | ||
DayHistoryStock | ||
} from "./models/multiSingleDayHistoryResponse"; | ||
import { ForexResponse } from "./models/forexResponse"; | ||
@@ -20,3 +41,9 @@ import { ForexHistoryResponse } from "./models/forexHistoryResponse"; | ||
ForexHistoryResponse, | ||
ForexSingleDay | ||
ForexSingleDay, | ||
Intraday, | ||
DayData, | ||
RealTimeResponseData, | ||
StockSeatchData, | ||
Historical, | ||
DayHistoryStock | ||
}; |
@@ -8,4 +8,4 @@ import { DayData } from "./dayData"; | ||
interface Historical { | ||
export interface Historical { | ||
[key: string]: DayData; | ||
} |
@@ -8,7 +8,7 @@ export interface IntradayMarketResponse { | ||
interface Intraday { | ||
export interface Intraday { | ||
[key: string]: DayData; | ||
} | ||
interface DayData { | ||
export interface DayData { | ||
open: string; | ||
@@ -15,0 +15,0 @@ close: string; |
@@ -5,7 +5,7 @@ import { DayData } from "./dayData"; | ||
date: Date; | ||
data: Stock; | ||
data: DayHistoryStock; | ||
} | ||
interface Stock { | ||
export interface DayHistoryStock { | ||
[key: string]: DayData; | ||
} |
export interface RealTimeResponse { | ||
symbols_requested: number; | ||
symbols_returned: number; | ||
data: Data[]; | ||
data: RealTimeResponseData[]; | ||
} | ||
interface Data { | ||
export interface RealTimeResponseData { | ||
symbol: string; | ||
@@ -9,0 +9,0 @@ name: string; |
@@ -10,3 +10,3 @@ export interface StockSearchResponse { | ||
interface StockSeatchData { | ||
export interface StockSeatchData { | ||
symbol: string; | ||
@@ -13,0 +13,0 @@ name: string; |
Sorry, the diff of this file is not supported yet
54960
984