Skip to content

Commit

Permalink
sqlite (#6)
Browse files Browse the repository at this point in the history
* WIP sqlite

* add currencies table

* currencies module

* forex rates db

* WIP db

* openhands script

* openhands add currency tests

* ignore coverage

* improve tests

* add cargo fmt hook

* fix fmt warning

* cargo update

* store forex in database

* style: ran cargo fmt

* stocurrencies  in database

* wip restructure

* restructure

* style: ran cargo fmt

* restructure

* style: ran cargo fmt

* restructure
  • Loading branch information
javdl authored Jan 9, 2025
1 parent 31aecad commit 92ac29c
Show file tree
Hide file tree
Showing 29 changed files with 2,930 additions and 1,187 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
POLYGON_API_KEY=
FINANCIALMODELINGPREP_API_KEY=
DATABASE_URL=sqlite:top200.db
ANTHROPIC_API_KEY=sk-
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ tmp/
.direnv
.direnv/*

output/*
# output/*
.DS_Store
coverage/
4 changes: 4 additions & 0 deletions .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
max_width = 100
tab_spaces = 4
edition = "2021"
use_field_init_shorthand = true
Loading

0 comments on commit 92ac29c

Please sign in to comment.