Added β for new features, Deprecated β for deprecated features that will be removed in future versions, Removed β for removed functions, Fixed β for fixed bugs and refactoring.
etl.js - a process that fetches data from PNGX.com.pg and compare it against the database and save any data from PNGX that are missing from db.
_id when displaying stocks, tickers, indices, companies__v when displaying stocks, tickers, indices, companiessymbol with code to be consistent with PNGX terminologycreatedAt and updatedAt when displaying stocks, tickers, indices, companies/historicals/:code to /stocks/historicals/:code/historicals/:code/essentials to /stocks/historicals/:code/essentials/tickers to /stocks/tickers/stocks/tickers/:code endpoint to get ticker data for a specific stock/stocks/:code/ohlcv endpoint to get OHLCV data for a specific stock/stocks/:code/ohlcv/history endpoint to get historical OHLCV data for stocksindices model to represent indices information/indices endpoint to get all indices/indices/:code endpoint to get a specific index/market/status endpoint to get the current market status/market/status/history endpoint to get historical market statustime to timestamp in /api/v[1|2]GET /api/v2/companiesPOST /api/v2/stocksGET /api/v2/tickersGET /api/v2/tickers/:symbolticker as a timeseries model to quote modelcompany modelv1.js file and are accessible under the route /api/v1server.js were segregated into;
app.js - for application logic,server.js - for running the server,database.js - for handling database connections,routes/index.js, routes/v1.js and routes/v2.js - for handling routes,models/* - for handling models,middlewares.js - for handling middlewares,utils.js - for handling utility functions,constants.js - for keeping constants in one place, andserverless.js - for running serverless app.Dockerfile and docker-compose.yaml fileOpenAPI documentation at /api/docsmongoose to ^8.8.3
redis to take of loadnode-celery to handle tasks out of the main threadexpress-rate-limit to limit the requestshelmetSTO and NEM property to modelOSH and NCM property to modeltimeseries property to modelnull/undefined to res.statusβexpress.raw to parse bodies into Bufferexpress.text to parse bodies into stringres.sendFilenull/undefined to res.statusX-Forwarded-Hostpb) supportSameSite=None supportContent-Security-Policy headerpath.normalize call103 Early Hintsthrow on invalid type"Request aborted" may be logged in res.sendfileRouter constructor