polygon-io / client-js

The official JS client library for the Polygon REST and WebSocket API.
MIT License
190 stars 59 forks source link

`fmv` field missing on `UniversalSnapshotInfo` #191

Closed jdconley closed 1 month ago

jdconley commented 7 months ago

The UniversalSnapshotInfo interface is missing the fmv field.

interface UniversalSnapshotInfo {
    market_status?: string;
    name?: string;
    ticker?: string;
    type?: string;
    session?: UniversalSnapshotSession;
    last_quote?: UniversalSnapshotLastQuote;
    last_trade?: UniversalSnapshotLastTrade;
    details?: UniversalSnapshotDetails;
    greeks?: UniversalSnapshotGreeks;
    implied_volatility?: number;
    open_interest?: number;
    underlying_asset?: UniversalSnapshotUnderlyingAsset;
    value?: number;
    break_even_price?: number;
}

It has a value field but I don't think that is used in the API. When I request data from the universalSnapshot endpoint the fmv is returned, but no value.

brotzky commented 4 months ago

missing fmv on all such cases

justinpolygon commented 4 months ago

Thanks, I'll take a look @brotzky.