Skip to content

Commit

Permalink
docs(optionsModule): change numbers to dates
Browse files Browse the repository at this point in the history
  • Loading branch information
advaiyalad committed Mar 27, 2021
1 parent 7a3e79b commit 903215b
Showing 1 changed file with 81 additions and 114 deletions.
195 changes: 81 additions & 114 deletions docs/modules/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,165 +12,132 @@ Example Result (Arrays are shortened so the docs aren't long):
{
underlyingSymbol: 'AYX',
expirationDates: [
1618531200,
1621555200,
1623974400,
1629417600,
1642723200,
1674172800
new Date('2021-04-16T00:00:00.000Z'),
new Date('2021-05-21T00:00:00.000Z'),
new Date('2021-06-18T00:00:00.000Z'),
new Date('2021-08-20T00:00:00.000Z'),
new Date('2021-11-19T00:00:00.000Z'),
new Date('2022-01-21T00:00:00.000Z'),
new Date('2023-01-20T00:00:00.000Z'),
],
strikes: [
50, 55, 60, 65, 70, 75, 80,
85, 90, 95, 100, 105, 110, 115,
120, 125, 130, 135, 140, 145, 150,
155, 160, 165, 170
45, 50, 55, 60, 65, 70, 75,
80, 85, 90, 95, 100, 105, 110,
115, 120, 125, 130, 135, 140, 145,
150, 155, 160, 165, 170
],
hasMiniOptions: false,
quote: {
language: 'en-US',
region: 'US',
quoteType: 'EQUITY',
quoteSourceName: 'Nasdaq Real Time Price',
quoteSourceName: 'Delayed Quote',
triggerable: true,
currency: 'USD',
postMarketChangePercent: 0.192234,
postMarketTime: 2021-03-19T23:59:34.000Z,
postMarketPrice: 83.39,
postMarketChange: 0.159996,
regularMarketChange: 1.25,
regularMarketChangePercent: 1.524762,
regularMarketTime: 1616184002,
regularMarketPrice: 83.23,
regularMarketDayHigh: 83.52,
regularMarketDayRange: { low: 81.02, high: 83.52 },
regularMarketDayLow: 81.02,
regularMarketVolume: 1135345,
regularMarketPreviousClose: 81.98,
bid: 83.01,
ask: 83.88,
bidSize: 8,
firstTradeDateMilliseconds: new Date('2017-03-24T13:30:00.000Z'),
exchange: 'NYQ',
shortName: 'Alteryx, Inc.',
longName: 'Alteryx, Inc.',
messageBoardId: 'finmb_8548197',
exchangeTimezoneName: 'America/New_York',
exchangeTimezoneShortName: 'EDT',
gmtOffSetMilliseconds: -14400000,
market: 'us_market',
esgPopulated: false,
marketState: 'CLOSED',
postMarketChangePercent: 0.34013456,
postMarketTime: new Date('2021-03-26T23:56:50.000Z'),
postMarketPrice: 82.6,
postMarketChange: 0.27999878,
regularMarketChange: 0.3199997,
regularMarketChangePercent: 0.39024353,
regularMarketTime: 1616788802,
regularMarketPrice: 82.32,
regularMarketDayHigh: 83.7,
regularMarketDayRange: { low: 79.71, high: 83.7 },
regularMarketDayLow: 79.71,
regularMarketVolume: 1275079,
regularMarketPreviousClose: 82,
bid: 81.66,
ask: 82.5,
bidSize: 11,
askSize: 11,
fullExchangeName: 'NYSE',
financialCurrency: 'USD',
regularMarketOpen: 82.21,
averageDailyVolume3Month: 1705891,
averageDailyVolume10Day: 1627187,
fiftyTwoWeekLowChange: 4.5,
fiftyTwoWeekLowChangePercent: 0.05715737,
regularMarketOpen: 82.59,
averageDailyVolume3Month: 1707374,
averageDailyVolume10Day: 1400837,
fiftyTwoWeekLowChange: 3.5899963,
fiftyTwoWeekLowChangePercent: 0.045598835,
fiftyTwoWeekRange: { low: 78.73, high: 185.75 },
fiftyTwoWeekHighChange: -102.52,
fiftyTwoWeekHighChangePercent: -0.5519246,
fiftyTwoWeekHighChange: -103.43,
fiftyTwoWeekHighChangePercent: -0.5568237,
fiftyTwoWeekLow: 78.73,
fiftyTwoWeekHigh: 185.75,
earningsTimestamp: 2021-02-09T16:05:05.000Z,
earningsTimestampStart: 2021-05-04T10:59:00.000Z,
earningsTimestampEnd: 2021-05-10T12:00:00.000Z,
earningsTimestamp: new Date('2021-02-09T16:05:05.000Z'),
earningsTimestampStart: new Date('2021-05-04T10:59:00.000Z'),
earningsTimestampEnd: new Date('2021-05-10T12:00:00.000Z'),
epsTrailingTwelveMonths: -0.37,
epsForward: 0.51,
twoHundredDayAverageChangePercent: -0.2914284,
epsCurrentYear: 0.02,
priceEpsCurrentYear: 4161.5005,
priceEpsCurrentYear: 4116,
sharesOutstanding: 54044800,
bookValue: 7.144,
fiftyDayAverage: 104.35114,
fiftyDayAverageChange: -21.12114,
fiftyDayAverageChangePercent: -0.20240448,
twoHundredDayAverage: 117.46167,
twoHundredDayAverageChange: -34.231667,
marketCap: 5565074432,
forwardPE: 163.19609,
priceToBook: 11.650336,
fiftyDayAverage: 97.982285,
fiftyDayAverageChange: -15.662285,
fiftyDayAverageChangePercent: -0.15984812,
twoHundredDayAverage: 116.20604,
twoHundredDayAverageChange: -33.88604,
twoHundredDayAverageChangePercent: -0.2916031,
marketCap: 5504227840,
forwardPE: 161.41177,
priceToBook: 11.522956,
sourceInterval: 15,
exchangeDataDelayedBy: 0,
tradeable: false,
firstTradeDateMilliseconds: 2017-03-24T13:30:00.000Z,
priceHint: 2,
exchange: 'NYQ',
shortName: 'Alteryx, Inc.',
longName: 'Alteryx, Inc.',
messageBoardId: 'finmb_8548197',
exchangeTimezoneName: 'America/New_York',
exchangeTimezoneShortName: 'EDT',
gmtOffSetMilliseconds: -14400000,
market: 'us_market',
esgPopulated: false,
marketState: 'CLOSED',
tradeable: false,
displayName: 'Alteryx',
symbol: 'AYX'
},
options: [
{
expirationDate: 1618531200,
expirationDate: new Date('2021-04-16T00:00:00.000Z'),
hasMiniOptions: false,
calls: [
{
contractSymbol: 'AYX210416C00115000',
strike: 115,
currency: 'USD',
lastPrice: 0.42,
change: -0.14000002,
percentChange: -25.000004,
volume: 122,
openInterest: 794,
bid: 0.4,
ask: 0.47,
contractSize: 'REGULAR',
expiration: 1618531200,
lastTradeDate: 1616176562,
impliedVolatility: 0.7216824707031251,
inTheMoney: false
},
{
contractSymbol: 'AYX210416C00145000',
strike: 145,
contractSymbol: 'AYX210416C00155000',
strike: 155,
currency: 'USD',
lastPrice: 0.25,
lastPrice: 0.13,
change: 0,
percentChange: 0,
volume: 1,
openInterest: 37,
bid: 0.1,
ask: 0.73,
volume: 2,
openInterest: 5,
bid: 0,
ask: 0.86,
contractSize: 'REGULAR',
expiration: 1618531200,
lastTradeDate: 1616091299,
impliedVolatility: 1.0849655126953124,
expiration: new Date('2021-04-16T00:00:00.000Z'),
lastTradeDate: new Date('2021-03-22T15:24:10.000Z'),
impliedVolatility: 1.3984405078125,
inTheMoney: false
},
],
puts: [
{
contractSymbol: 'AYX210416P00050000',
strike: 50,
currency: 'USD',
lastPrice: 0.21,
change: 0.059999987,
percentChange: 39.99999,
volume: 76,
openInterest: 21,
bid: 0.1,
ask: 0.21,
contractSize: 'REGULAR',
expiration: 1618531200,
lastTradeDate: 1616183395,
impliedVolatility: 0.9355475195312499,
inTheMoney: false
},
{
contractSymbol: 'AYX210416P00055000',
strike: 55,
contractSymbol: 'AYX210416P00045000',
strike: 45,
currency: 'USD',
lastPrice: 0.38,
lastPrice: 0.16,
change: 0,
percentChange: 0,
volume: 1,
openInterest: 1,
bid: 0.04,
ask: 0.46,
volume: 8,
openInterest: 118,
bid: 0,
ask: 0.32,
contractSize: 'REGULAR',
expiration: 1618531200,
lastTradeDate: 1614954918,
impliedVolatility: 0.84961087890625,
expiration: new Date('2021-04-16T00:00:00.000Z'),
lastTradeDate: new Date('2021-03-18T14:15:59.000Z'),
impliedVolatility: 1.2656286718749998,
inTheMoney: false
},
]
Expand Down

0 comments on commit 903215b

Please sign in to comment.