Skip to content

Commit

Permalink
Revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
YizhouFan committed Nov 17, 2024
1 parent dc2a4f7 commit 12a8114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_trader.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def test_official_test_case(self):
"""
trader = Trader(TEST_DATA_PATH / "official.csv")
trader.make_annual_reports()
self.assertEqual(trader.annual_reports[2020]["BTC/JPY"]["total_buy_amount"], 6.15)
self.assertEqual(trader.annual_reports[2020]["BTC/JPY"]["total_buy_amount"], 6.5)
self.assertEqual(trader.annual_reports[2020]["BTC/JPY"]["total_buy_price_jpy"], 4_037_800)
self.assertEqual(trader.annual_reports[2020]["BTC/JPY"]["average_buy_price_jpy"], 621_200)
self.assertEqual(trader.annual_reports[2020]["BTC/JPY"]["total_sell_amount"], 5.0)
Expand Down

0 comments on commit 12a8114

Please sign in to comment.