Skip to content

Conversation

suremarc
Copy link
Contributor

I added all of our missing endpoints and tested them manually. Everything's been tested. Here's output:

Output as YAML
adjusted: true
count: 150
py/object: polygon.rest.models.definitions.CryptoGroupedDailyApiResponse
queryCount: 150
request_id: c9138b089a36e570227dafbe5f73d45b
results:
-   T: X:INKUSD
    c: 0.00071701
    h: 0.000895
    l: 0.00069325
    n: 74
    o: 0.000895
    t: 1602719999999
    v: 114570
    vw: 0.0008
# etc
resultsCount: 150
status: OK

adjusted: true
count: 1
py/object: polygon.rest.models.definitions.CryptoPreviousCloseApiResponse
queryCount: 1
request_id: 279ad14b79a220c438669c2ba6d3467f
results:
-   T: X:BTCUSD
    c: 54894.03
    h: 56500
    l: 53770.9
    n: 679915
    o: 55077.4
    t: 1619654399999
    v: 44170.754370356175
    vw: 54822.2037
resultsCount: 1
status: OK
ticker: X:BTCUSD

adjusted: true
count: 840
py/object: polygon.rest.models.definitions.ForexCurrenciesGroupedDailyApiResponse
queryCount: 840
request_id: 8305f70b4fc296cecd22c25dd7875e8e
results:
-   T: C:USDBWP
    c: 11.3305
    h: 11.3444
    l: 11.3305
    n: 2
    o: 11.3444
    t: 1602719999999
    v: 2
    vw: 11.3375
# etc
resultsCount: 840
status: OK

adjusted: true
count: 1
py/object: polygon.rest.models.definitions.ForexCurrenciesPreviousCloseApiResponse
queryCount: 1
request_id: 64a441f3179227d207f24b71af7dcfc4
results:
-   T: C:EURUSD
    c: 1.2134
    h: 1.2136
    l: 1.2055
    n: 120824
    o: 1.20891
    t: 1619654399999
    v: 120824
    vw: 1.2086
resultsCount: 1
status: OK
ticker: C:EURUSD

py/object: polygon.rest.models.definitions.ForexCurrenciesSnapshotSingleTickerApiResponse
status: OK
ticker:
    day:
        close_price: 1.21182
        high_price: 1.21498
        low_price: 1.2101
        open_price: 1.21349
        py/object: polygon.rest.models.definitions.ForexSnapshotAgg
        volume: 92927
    lastQuote:
        a: 1.2118
        b: 1.21173
        t: 1619715517000
        x: 48
    min:
        close_price: 1.21182
        high_price: 1.21202
        low_price: 1.2117
        open_price: 1.21197
        py/object: polygon.rest.models.definitions.ForexSnapshotAgg
        volume: 95
    prev_day:
        close_price: 1.21351
        high_price: 1.2136
        low_price: 1.2055
        open_price: 1.20891
        py/object: polygon.rest.models.definitions.ForexSnapshotAgg
        volume: 120799
        vw: 0
    py/object: polygon.rest.models.definitions.ForexSnapshotTicker
    ticker: C:EURUSD
    todays_chang_eperc: -0.14668194
    todays_change: -0.00178
    updated: 1619715517000000000

@suremarc suremarc requested review from jbonzo and jcho-polygon April 29, 2021 17:03
@suremarc suremarc merged commit 3bbf778 into master May 4, 2021
@suremarc suremarc deleted the missing-endpoints branch May 4, 2021 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants