Pablo Martin
132d51777a
add currency pair class
2025-05-26 14:50:21 +02:00
Pablo Martin
048d6833b4
add tests for input handling
2025-05-26 14:21:48 +02:00
Pablo Martin
6139856a3c
add pairs as new option
2025-05-26 14:16:15 +02:00
Pablo Martín
c2c3c85af9
Merged PR 2142: More decimals
...
This PR implements foundational changes in how money amounts ara managed to allow exchange rates to have up to 8 decimal positions. Before, this was limited to 0, 2 or 3 decimal positions, depending on the currency.
2024-06-27 16:17:24 +00:00
Pablo Martin
81eec04eec
add changelog
2024-06-27 18:15:48 +02:00
Pablo Martin
639893bf23
bump version
2024-06-27 18:11:29 +02:00
Pablo Martin
2ab9ca5456
improve typing
2024-06-27 18:11:22 +02:00
Pablo Martín
3d3661388d
Merged PR 2138: added chf to deployment default currencies
...
added chf to deployment default currencies
2024-06-27 16:02:36 +00:00
Pablo Martin
0bd0d7c862
increase decimals in table
2024-06-27 17:48:07 +02:00
Pablo Martin
236fb39f28
fix integration tests
2024-06-27 17:42:10 +02:00
Pablo Martin
0db434ee5b
add csvs to gitignore
2024-06-27 17:28:30 +02:00
Pablo Martin
d00a501730
remove unused import
2024-06-27 17:19:16 +02:00
Pablo Martin
0947b34ebf
swap Money for MoneyAmount, fix a couple of things along the way
2024-06-27 17:18:43 +02:00
Pablo Martin
ab2ac1ec6a
fix rounding errors in tests
2024-06-27 17:06:31 +02:00
Pablo Martin
33487521a7
implement money amount
2024-06-27 17:06:25 +02:00
Pablo Martin
e4d355c00c
add empty class so tests are runnable
2024-06-27 16:56:29 +02:00
Pablo Martin
eac16b53ba
add tests for money amount
2024-06-27 16:55:43 +02:00
Pablo Martin
a29573320e
add more decimals to inverse test to ensure it handles decimals properly
2024-06-27 16:46:17 +02:00
Pablo Martin
02e608fa02
added new test for decimal positions
2024-06-27 16:44:30 +02:00
Pablo Martin
29a0dacb2e
added chf to deployment default currencies
2024-06-27 16:41:09 +02:00
Pablo Martin
135d204dad
add command so that poetry is available in shell runner
2024-06-14 12:08:25 +02:00
Pablo Martin
fd70e27b5d
change output redirection strategy
2024-06-14 11:50:48 +02:00
Pablo Martin
ae3ad75073
more readme instructions
2024-06-13 19:24:57 +02:00
Pablo Martin
f21c0c187b
bump version
2024-06-13 19:19:56 +02:00
Pablo Martin
bea13acd68
fix script
2024-06-13 19:19:37 +02:00
Pablo Martin
f8fb8e6b76
more deployment stuff
2024-06-13 19:18:40 +02:00
Pablo Martin
4626152379
suggested bash script
2024-06-13 18:21:18 +02:00
Pablo Martin
55ef7ab273
more readme stuff
2024-06-13 18:03:46 +02:00
Pablo Martin
cf24605e44
some updates in readme
2024-06-13 18:00:48 +02:00
Pablo Martin
029514d80b
add healthcheck cli command
2024-06-13 16:32:03 +02:00
Pablo Martin
6e8b0a1c58
db rate writing implemented
2024-06-13 16:26:59 +02:00
Pablo Martin
bcd9993723
properly check that output is dwh if not file
2024-06-13 15:59:13 +02:00
Pablo Martin
aa0919c790
activate environment again in test
2024-06-13 15:59:03 +02:00
Pablo Martin
515a4527af
tests passing
2024-06-13 15:56:57 +02:00
Pablo Martin
de8828a9cb
move function
2024-06-13 15:27:58 +02:00
Pablo Martin
8de0c72b14
add psycopg2 to dependencies
2024-06-13 15:25:52 +02:00
Pablo Martin
69f9ff1793
add variables to .env-example
2024-06-13 15:21:45 +02:00
Pablo Martin
7867e73f10
connect and verify everything is ready
2024-06-12 18:20:55 +02:00
Pablo Martin
e1bcdb1309
readme updates
2024-06-12 18:07:27 +02:00
Pablo Martin
e3ec041922
dry run now for output, rate sources works
2024-06-12 17:59:34 +02:00
Pablo Martin
15e8b8e513
fixed
2024-06-12 17:41:31 +02:00
Pablo Martin
78e3d71b05
break stuff by adding new param
2024-06-12 17:36:33 +02:00
Pablo Martin
013f2cdadb
readme details
2024-06-12 16:29:42 +02:00
Pablo Martin
6b12078478
improve test to exclude weird currencies we don't use
2024-06-12 15:59:32 +02:00
Pablo Martin
b9e4892c5d
also include inverse and equal rates during process
2024-06-12 15:48:33 +02:00
Pablo Martin
d382c332e3
more methods and tests
2024-06-12 00:44:30 +02:00
Pablo Martin
aec65e5364
improve input formatting
2024-06-12 00:10:14 +02:00
Pablo Martin
0fdf765fef
implement response processing from xe
2024-06-12 00:08:25 +02:00
Pablo Martin
56c6bd7620
tests and small refactors for exchange rates
2024-06-11 23:47:07 +02:00
Pablo Martin
4973d4c61a
include exported at field
2024-06-11 23:07:15 +02:00