Skip to content

[Enhancement] Add option to request data in csv format in get_dataframe method #523

@2xmm

Description

@2xmm
  • Tiingo Python version: 0.12
  • Python version: 3.8.5
  • Operating System: macOS 10.14.6

Description

Hi, I noticed in the tiingo docs they mention that a csv response is 4-5x faster than json (https://api.tiingo.com/documentation/general/overview -- 1.1.4 Response Formats).

Fetching data in csv format is implemented in get_ticker_price but not get_dataframe.

I've made the changes on my end adding a fmt paramerter to get_dataframe which can be set to csv. If you like, I'm happy to put together a pull request with these changes.

What I Did

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions