Skip to content

Commit

Permalink
Fix BasicCassandreStrategyTest #881
Browse files Browse the repository at this point in the history
  • Loading branch information
straumat committed Mar 5, 2022
1 parent b7659a4 commit c5f5711
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ public void checkUserBalancesUpdatesWithPosition() {
// 80 USDT => 80 + 1 000 (position 2 sell) - 10 (position 4 buy)
// 19.5 ETH => 19.5 - 10 (position 2 sell) + 5 (position 4 buy)
// 0 KCS => 20 KCS (20 lock in positions).
await().untilAsserted(() -> assertEquals(9, strategy.getAccountsUpdatesReceived().size()));
await().untilAsserted(() -> assertEquals(0, new BigDecimal("0.99962937").compareTo(strategy.getTradeAccountBalances().get(BTC).getAvailable())));
await().untilAsserted(() -> assertEquals(0, new BigDecimal("1070").compareTo(strategy.getTradeAccountBalances().get(USDT).getAvailable())));
await().untilAsserted(() -> assertEquals(0, new BigDecimal("14.5").compareTo(strategy.getTradeAccountBalances().get(ETH).getAvailable())));
Expand Down

0 comments on commit c5f5711

Please sign in to comment.