tso-data-models
Advanced tools
Comparing version
@@ -8,3 +8,3 @@ export declare class DataPoint { | ||
constructor(); | ||
getAssetLTSArchivePath(year: number, month: number, day: number): string; | ||
getAssetLTSArchivePath(): string; | ||
symbolMatches(symbol: string): boolean; | ||
@@ -11,0 +11,0 @@ exchangeMatches(exchange: string): boolean; |
@@ -7,3 +7,3 @@ "use strict"; | ||
} | ||
DataPoint.prototype.getAssetLTSArchivePath = function (year, month, day) { | ||
DataPoint.prototype.getAssetLTSArchivePath = function () { | ||
var time = new Date(this.time); | ||
@@ -10,0 +10,0 @@ return this.exchange.toLowerCase() + "_" + time.getFullYear() + "_" + time.getMonth() + "_" + time.getDay() + "_" + this.baseCurrency.toLowerCase(); |
{ | ||
"name": "tso-data-models", | ||
"version": "1.0.34", | ||
"version": "1.0.35", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -12,3 +12,3 @@ export class DataPoint { | ||
getAssetLTSArchivePath(year: number, month: number, day: number): string { | ||
getAssetLTSArchivePath(): string { | ||
const time: Date = new Date(this.time); | ||
@@ -15,0 +15,0 @@ return `${this.exchange.toLowerCase()}_${time.getFullYear()}_${time.getMonth()}_${time.getDay()}_${this.baseCurrency.toLowerCase()}`; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
61094
-0.31%