MCPcopy Create free account

hub / github.com/Tpessia/dados-financeiros / functions

Functions220 in github.com/Tpessia/dados-financeiros

↓ 18 callersFunctionparseDate
(str: string | Date | null | undefined, format?: string)
api/src/@utils/data/date.ts:117
↓ 14 callersMethodlog
(message: any, ...optionalParams: [...any, string?])
api/src/core/middlewares/FileLogger.ts:43
↓ 13 callersFunctionround
(num?: number, precision: number = 2)
api/src/@utils/data/number.ts:6
↓ 7 callersFunctionapplyFraction
(data: AssetData[], fraction: number)
api/src/core/services/AssetTransformers.ts:134
↓ 7 callersFunctionapplyLeverage
(data: AssetData[], leverage: number)
api/src/core/services/AssetTransformers.ts:105
↓ 7 callersMethoderror
(message: any, stack?: string, ...optionalParams: [...any, string?])
api/src/core/middlewares/FileLogger.ts:55
↓ 7 callersFunctionextractIsoDateParts
(date: Date)
api/src/@utils/data/date.ts:4
↓ 7 callersMethodgetData
(@Query('ticker', QueryRequiredPipe) ticker: string, @Query('minDate', QueryRequiredPipe) minDate: string, @Qu
api/src/stock/controllers/stock.controller.ts:28
↓ 7 callersFunctionpromiseRetry
(func: () => Promise<T>, maxRetries: number, onError?: (err: any) => void)
api/src/@utils/async/promise.ts:44
↓ 6 callersFunctioncastPercent
(num: number)
api/src/@utils/data/number.ts:32
↓ 6 callersFunctiondateToIsoStr
(date: Date | null | undefined)
api/src/@utils/data/date.ts:43
↓ 6 callersFunctionisValidDate
(date: Date | string | undefined | null)
api/src/@utils/data/date.ts:100
↓ 6 callersFunctionparseMoment
(str: string | Date | null | undefined, format?: string)
api/src/@utils/data/date.ts:107
↓ 5 callersMethodcatch
(err: any, host: ArgumentsHost)
api/src/core/middlewares/ErrorFilter.ts:23
↓ 5 callersFunctionsyncCache
(callback?: (cacheObj: MemoizeCacheMap<F>) => MemoizeCacheMap<F> | Promise<MemoizeCacheMap<F>>)
api/src/@utils/cache/memoize.ts:111
↓ 4 callersFunctionD
(...e)
api/src/public/assets/swagger.js:37
↓ 4 callersFunctionMemoize
(config?: MemoizeConfig)
api/src/@utils/cache/memoize.ts:220
↓ 4 callersFunctionaddDate
(date: Date, days: number = 0, hours: number = 0, minutes: number = 0, seconds: number = 0, milliseconds: numb
api/src/@utils/data/date.ts:233
↓ 4 callersMethodaddInfo
(info: string)
api/src/core/services/config.service.ts:65
↓ 4 callersFunctionnormalizeTimezone
(date: string | Date | null | undefined)
api/src/@utils/data/date.ts:227
↓ 4 callersFunctionrunOrResolve
(value: T | Promise<T>, callback: (resolved: T) => U, errCallback?: (rejected: any) => any)
api/src/@utils/async/promise.ts:81
↓ 3 callersFunctionarrayDistinct
(array: T[], deep: boolean = false)
api/src/@utils/data/array.ts:10
↓ 3 callersFunctionassetfy
(data: AssetData[], initValue: number = initAssetValue)
api/src/core/services/AssetTransformers.ts:36
↓ 3 callersFunctionfunc
()
api/src/public/assets/swagger.js:42
↓ 3 callersMethodinit
()
api/src/core/services/config.service.ts:33
↓ 2 callersFunction_
()
api/src/public/assets/swagger.js:37
↓ 2 callersFunctionbusinessDaysInYear
(year: number)
api/src/@utils/data/date.ts:256
↓ 2 callersFunctionbusinessDaysRange
(startDate: Date, endDate: Date)
api/src/@utils/data/date.ts:254
↓ 2 callersFunctioncastPercent
(s string)
api/worker/main.go:205
↓ 2 callersFunctionconvertCurrency
(data: T[], currency: AssetData[])
api/src/core/services/AssetTransformers.ts:52
↓ 2 callersFunctiondateTimeToIsoStr
(date: Date | null | undefined)
api/src/@utils/data/date.ts:51
↓ 2 callersFunctiondateToStr
(date: Date | null | undefined, separator: string = '/')
api/src/@utils/data/date.ts:34
↓ 2 callersFunctiondateToUnix
(date: Date)
api/src/@utils/data/date.ts:137
↓ 2 callersFunctiondatesRange
(startDate: Date, endDate: Date)
api/src/@utils/data/date.ts:242
↓ 2 callersFunctiondownloadMemoryFile
(file: Blob, fileName: string)
api/src/@utils/file/file.ts:99
↓ 2 callersFunctionextractIsoDateTimeParts
(date: Date)
api/src/@utils/data/date.ts:15
↓ 2 callersMethodextractMessage
(message: string, ...optionalParams: [...any, string?])
api/src/core/middlewares/FileLogger.ts:67
↓ 2 callersMethodgetAssets
(assetCodes: string, minDate: Date, maxDate: Date)
api/src/search/services/search.service.ts:95
↓ 2 callersMethodgetData
(params: GetDataParams)
api/src/gov-bond/services/gov-bond-day-sisweb.service.ts:27
↓ 2 callersMethodgetData
({ assetCode, minDate, maxDate }: GetDataParams)
api/src/ipca/services/ipca-day-sgs.service.ts:18
↓ 2 callersMethodgetDto
(ticker: string, minDate: Date, maxDate: Date)
api/src/stock/services/stock-yahoo.service.ts:115
↓ 2 callersFunctiongetFileInfo
(cachePath: string)
api/src/@utils/cache/memoize.ts:99
↓ 2 callersMethodgetHealthMessage
()
api/src/core/controllers/health.controller.ts:24
↓ 2 callersFunctioni
(e=16)
api/src/public/assets/swagger.js:37
↓ 2 callersFunctionisIsoDate
(str: string)
api/src/@utils/data/date.ts:96
↓ 2 callersFunctionisWeekend
(date: Date)
api/src/@utils/data/date.ts:240
↓ 2 callersFunctionn
(o)
api/src/public/assets/swagger.js:37
↓ 2 callersMethodparse
(str: string)
api/src/gov-bond/services/gov-bond-day-transparente.service.ts:78
↓ 2 callersFunctionparseHeaderMatrix
(headers: string[], data: T[][])
api/src/@utils/data/object.ts:68
↓ 2 callersFunctionpromiseParallel
(tasks: (() => Promise<T>)[], concurrencyLimit: number, noReject: boolean = false)
api/src/@utils/async/promise.ts:1
↓ 2 callersFunctionresponseWrapper
(data: T)
api/src/core/models/ResponseWrapper.ts:1
↓ 2 callersMethodrun
(...services: DataSource[])
api/src/scheduler/services/scheduler.service.ts:28
↓ 2 callersFunctiontryParseJson
(str: string | undefined | null, reviver?: (this: any, key: string, value: any) => any, warn: boolean = true)
api/src/@utils/data/json.ts:3
↓ 2 callersFunctiontryStringifyJson
(obj: any, replacer?: (this: any, key: string, value: any) => any, warn: boolean = true)
api/src/@utils/data/json.ts:13
↓ 1 callersFunctionb
(e,{type:n,event:o,debug:s})
api/src/public/assets/swagger.js:37
↓ 1 callersFunctionbase64ToFile
(base64: string, fileName: string, mimeType: string = 'application/octet-stream')
api/src/@utils/file/file.ts:77
↓ 1 callersFunctionbootstrap
()
api/src/main.ts:10
↓ 1 callersFunctioncleanUpData
(data: AssetHistData<AssetData>)
api/src/core/services/AssetTransformers.ts:145
↓ 1 callersFunctiondailyfyPercents
(monthlyData: AssetData[], maxDate?: Date)
api/src/core/services/AssetTransformers.ts:9
↓ 1 callersFunctiondeepEqual
(a: any, b: any)
api/src/@utils/data/object.ts:3
↓ 1 callersFunctionfetchAll
()
api/src/core/services/BaseAssetSgsService.ts:67
↓ 1 callersFunctionfetchDate
(startDate: Date, endDate: Date)
api/src/core/services/BaseAssetSgsService.ts:68
↓ 1 callersFunctionfetchToFile
(response: Response)
api/src/@utils/file/file.ts:84
↓ 1 callersFunctiongenerateFixedRate
(assetCode: string, start: Date, end: Date, initValue: number, annualIrr: number)
api/src/core/services/AssetTransformers.ts:77
↓ 1 callersMethodgetAssetRule
(assetCode: string)
api/src/search/services/search.service.ts:172
↓ 1 callersMethodgetAuth
()
api/src/stock/services/stock-yahoo-summary.service.ts:22
↓ 1 callersMethodgetData
(params: GetDataParams)
api/src/fixed-rate/services/fixed-rate.service.ts:16
↓ 1 callersMethodgetDto
()
api/src/gov-bond/services/gov-bond-day-last-td.service.ts:113
↓ 1 callersMethodgetDto
()
api/src/gov-bond/services/gov-bond-day-transparente.service.ts:63
↓ 1 callersMethodgetDto
(minYear?: number)
api/src/gov-bond/services/gov-bond-day-sisweb.service.ts:127
↓ 1 callersMethodgetDto
(ticker: string)
api/src/stock/services/stock-yahoo-search.service.ts:28
↓ 1 callersMethodgetDto
(ticker: string)
api/src/stock/services/stock-yahoo-summary.service.ts:15
↓ 1 callersMethodgetDto
()
api/src/ipca/services/ipca-month-ipea.service.ts:68
↓ 1 callersMethodgetDtoOld
()
api/src/gov-bond/services/gov-bond-day-transparente.service.ts:94
↓ 1 callersFunctiongetDuration
(durationMilli: number, level: DurationLevel = DurationLevel.Hours)
api/src/@utils/data/date.ts:166
↓ 1 callersFunctiongetEndOfDay
(date: Date)
api/src/@utils/data/date.ts:143
↓ 1 callersFunctiongetFirstOfMonth
(date: Date)
api/src/@utils/data/date.ts:149
↓ 1 callersMethodgetInfo
()
api/src/core/services/config.service.ts:70
↓ 1 callersFunctiongetLastOfMonth
(date: Date)
api/src/@utils/data/date.ts:151
↓ 1 callersMethodgetMetadata
()
api/src/gov-bond/services/gov-bond-day-sisweb.service.ts:173
↓ 1 callersFunctiongetStartOfDay
(date: Date)
api/src/@utils/data/date.ts:141
↓ 1 callersMethodhealthCheck
()
api/src/core/controllers/health.controller.ts:10
↓ 1 callersFunctionhexToBinaryArray
(hexString: string)
api/src/@utils/data/random.ts:59
↓ 1 callersFunctionisMemoizeCacheType
(value: any)
api/src/@utils/cache/memoize.ts:34
↓ 1 callersFunctionisPromise
(value: T | Promise<T>)
api/src/@utils/async/promise.ts:68
↓ 1 callersFunctionk
(e)
api/src/public/assets/swagger.js:37
↓ 1 callersMethodlogInfo
()
api/src/core/services/config.service.ts:74
↓ 1 callersFunctionloopObjects
(obj: any, callback?: (item: any, key: any, prevItem: any, rootObj: any) => void, primitiveCallback?:
api/src/@utils/data/object.ts:13
↓ 1 callersFunctionmemoize
(func: Memoized<F>, config: MemoizeConfig)
api/src/@utils/cache/memoize.ts:180
↓ 1 callersFunctionreadFileSync
(filePath: string)
api/src/@utils/file/file.ts:25
↓ 1 callersMethodregister
(app: INestApplication)
api/src/core/services/config.service.ts:52
↓ 1 callersFunctionrunPromise
(task: () => Promise<T>)
api/src/@utils/async/promise.ts:11
↓ 1 callersMethodrunService
(type: Type)
api/src/scheduler/services/scheduler.service.ts:57
↓ 1 callersFunctionspawnProcess
(command: string, args: string[] = [], options?: SpawnOptions)
api/src/@utils/os/spawnProcess.ts:4
↓ 1 callersFunctionsplitDateRanges
(startDate: Date, endDate: Date, maxYears: number)
api/src/@utils/data/date.ts:264
↓ 1 callersMethodstart
()
api/src/scheduler/services/scheduler.service.ts:42
↓ 1 callersFunctionstreamCSV
(url string, handle func([]string) error)
api/worker/main.go:162
↓ 1 callersFunctionsumAssets
(key: string, ...data: AssetHistData<AssetData>[])
api/src/core/services/AssetTransformers.ts:164
↓ 1 callersFunctiontrimAssets
(key: string, ...data: AssetHistData<AssetData>[])
api/src/core/services/AssetTransformers.ts:228
↓ 1 callersFunctiontryStringifyCircularJson
(obj: any, warn: boolean = true)
api/src/@utils/data/json.ts:24
next →1–100 of 220, ranked by callers