fetch prices repeatedly when run as daemon

This commit is contained in:
woodser 2022-07-28 15:45:47 -04:00
parent a3a5b96c06
commit a5f457d8e9
6 changed files with 12 additions and 8 deletions

View file

@ -33,7 +33,7 @@ public class MarketPriceFeedServiceTest {
public void testGetPrice() throws InterruptedException {
PriceFeedService priceFeedService = new PriceFeedService(null, null, null);
priceFeedService.setCurrencyCode("EUR");
priceFeedService.requestPriceFeed(tradeCurrency -> {
priceFeedService.startRequestingPrices(tradeCurrency -> {
log.debug(tradeCurrency.toString());
assertTrue(true);
},