Simple API to get options data from a specific BYMA security, made in Express.js and using Cheerio, Request and Jest. Currently retrieves expiration date, strike price, last option price and volume for call options only.
npm install
npm start or node bin/www
npm test or jest
Info about BYMA stock tickers here.
GET /api/:ticker
[
{
"expiration_date": "2021-02-19",
"strike_price": 123,
"option_last_price": 2.8,
"volume": 11632641
},
{
"expiration_date": "2021-02-19",
"strike_price": 11881,
"option_last_price": 5.8,
"volume": 6768939
}
]