bullish/TODO.org
Ameya Shenoy 486f5098a7
feat: initial commit with todo and license
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2021-02-09 01:37:51 +05:30

2.4 KiB
Raw Blame History

ToDo [/]

  • Meta [/]

  • Backend Django [/]

    • Base setup for DJango + Vue
    • Async (RQ mostly) job to download the equity bhavcopy zip every day at 6 PM for the current date

      • Verify this link doesn't change per day (check web archive)

        • this changes everyday, the zip file is of the format "EQ`DDMMYY`_CSV.ZIP"
      • RQ job to which starts at 6 pm

        • extracts and parses the CSV file in it
        • dump data into postgres and redis
        • if fails at 6 pm starts again after 5 mins
      • Writes the records into Redis into appropriate data structures (Fields: code, name, open, high, low, close)
    • Endpoint to serve main app

      • If cache empty load from postgres and put it into redis
      • Button for Pagination

        • No Pagination
        • Pagination to return 100 entries
    • Login

      • Open endpoint without login
      • Allow google auth for emails ending in `zerodha.com` or `zerodha.tech` or `shenoy.ameya@gmail.com`
      • JWT
      • Optionally have a demo username and password for login
  • Frontend Vue [/]

    • Landing Page
    • Renders a simple VueJS frontend with a search box that allows the stored entries to be searched by name and renders a table of results and optionally download the results as CSV. Make this page look nice

      • Search field to search on (Fields: code, name, open, high, low, close)
      • Button to download searched results as CSV
    • Handle login
  • Deploy [/]