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

Feature/trade lots supported #63

Merged
merged 29 commits into from
Aug 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
8ddd7db
feat: add commodity does not define error
Kilerd Jun 2, 2022
5a77ba1
feat: parse cost and price in to posting
Kilerd Jun 7, 2022
3ed6ed8
feat: implement trade_amount
Kilerd Jun 7, 2022
32db04a
feat: implement infer_trade_amount
Kilerd Jun 10, 2022
31a81b8
feat: implement is_balance method
Kilerd Jun 10, 2022
cf1a0f4
feat: restore the inventory logic
Kilerd Jun 10, 2022
a0a7489
feat: export price to string target
Kilerd Jun 10, 2022
4acca1f
feat: add default tolerance precision
Kilerd Jun 10, 2022
1e00858
feat: add default tolerance precision
Kilerd Jun 13, 2022
1401b99
feat: resolve #65 add bigdecimal ext to support round down and round up
Kilerd Jun 13, 2022
7660479
feat: refactor the txn balanced method
Kilerd Jun 13, 2022
46146cc
feat: currency support precision and rounding
Kilerd Jun 17, 2022
a95abcf
feat: transaction balance support default and currency specific permi…
Kilerd Jun 17, 2022
bcb2e0e
feat: implement commodities list and price list
Kilerd Jul 6, 2022
d7913aa
feat: add commodityInventory for single commodity
Kilerd Jul 6, 2022
6d1747a
feat: impl FIFO and FILO strategy
Kilerd Jul 6, 2022
36c9ae6
feat: record currency info into lots
Kilerd Jul 7, 2022
6a2b310
refact: format code
Kilerd Jul 7, 2022
a899b7c
fix: #67 use self-implement line col algorithm due to low speed of pe…
Kilerd Jul 8, 2022
b304c68
refact: remove dbg macro
Kilerd Jul 8, 2022
6fbdccb
feat: add inventory for commodities
Kilerd Jul 8, 2022
40051ae
feat: impl commodity lots detail
Kilerd Jul 8, 2022
9cc7551
feat: filter zero number lots
Kilerd Jul 8, 2022
64d5cf2
chore: add local proxy to suit github codespaces development
Kilerd Aug 2, 2022
3759e60
feat: add single commodity page with lot detail
Kilerd Aug 2, 2022
b01e69b
feat: add price history for single commodity
Kilerd Aug 2, 2022
01112f2
refact: remove unuse import
Kilerd Aug 2, 2022
f954770
fix: null handler for posting unit
Kilerd Aug 2, 2022
16ce682
refact: remove dbg macro
Kilerd Aug 2, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ chrono = { version = "0.4.19", features = ["serde"] }
strum = { version = "0.19.5", features = ["derive"] }
strum_macros = "0.19.4"
snailquote = "0.3.0"
indexmap = { version = "1.6.0", features = ["serde-1"] }
indexmap = { version = "1.9.1", features = ["serde-1"] }
bigdecimal = { version = "0.2.0", features = ["serde"] }
itertools = "0.9.0"
serde = { version = "1.0.136", features = ["derive"] }
Expand Down
Loading