Skip to content

Comments

Completed technical test#3

Open
deepu9 wants to merge 5 commits intotruflation:mainfrom
deepu9:main
Open

Completed technical test#3
deepu9 wants to merge 5 commits intotruflation:mainfrom
deepu9:main

Conversation

@deepu9
Copy link

@deepu9 deepu9 commented Jan 21, 2024

Thanks for helping me out with my questions. Please find the completed technical test. Looking forward to hearing from you.

I have used Poetry, a package management tool. Added all the necessary packages into pyproject.toml file. Also, setup a script to run the server.

Packages

  1. Poetry - Package management tool
  2. FastAPI - Python framework to build API's
  3. yfinance - To get the finance data.

Folder structure
adapters - Classes to segregate the data feed logic. It get's the data feed from yahoo finance.
models - Part of ORM. A class for every table in the database. All the columns are class properties.
database.py - Has the logic to setup a database and it's tables. Also, to remove the database and tables, when the server is closed.
index.py - Entry point to the server. This has the API endpoints defined.

@zolotokrylin zolotokrylin requested a review from joequant January 22, 2024 13:20
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.

1 participant