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/companies
POST /api/v2/stocks
GET /api/v2/tickers
GET /api/v2/tickers/:symbol
ticker
as a timeseries model to quote
modelcompany
modelv1.js
file and are accessible under the route /api/v1
server.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/docs
mongoose
to ^8.8.3
redis
to take of loadnode-celery
to handle tasks out of the main threadexpress-rate-limit
to limit the requestshelmet
STO
and NEM
property to modelOSH
and NCM
property to modeltimeseries
property to model