Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Set application of querying Lithium price data #6

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

escacan
Copy link

@escacan escacan commented Jan 31, 2024

Description

Fast api application query Lithium close price data from DB.
Used https://freedb.tech/ for db hosting.

How to run

$ pip install -r requirements.txt
$ cd app
$ uvicorn main:app --reload

Available apis

  • /docs : Swagger UI for test
  • /prices : get every prices from DB
  • /prices/latest : get latest price from DB
  • /prices/from/{target_date} : get data list since {target_date}
  • /prices/{target_date} : get data of {target_date}

target_date format : YYYY-MM-DD

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.

None yet

1 participant