Uses of Class
tech.cassandre.trading.bot.util.dto.CurrencyPairDTO
-
Packages that use CurrencyPairDTO Package Description tech.cassandre.trading.bot.batch Cassandre trading bot batches.tech.cassandre.trading.bot.dto.market Market DTO.tech.cassandre.trading.bot.dto.trade Trade DTO.tech.cassandre.trading.bot.service Cassandre trading bot service.tech.cassandre.trading.bot.strategy Strategy.tech.cassandre.trading.bot.util.base Base.tech.cassandre.trading.bot.util.dto Cassandre trading bot DTO util.tech.cassandre.trading.bot.util.mapper Mapper for DTO. -
-
Uses of CurrencyPairDTO in tech.cassandre.trading.bot.batch
Method parameters in tech.cassandre.trading.bot.batch with type arguments of type CurrencyPairDTO Modifier and Type Method Description void
TickerFlux. updateRequestedCurrencyPairs(Set<CurrencyPairDTO> newRequestedCurrencyPairs)
Update the list of requested currency pairs. -
Uses of CurrencyPairDTO in tech.cassandre.trading.bot.dto.market
Methods in tech.cassandre.trading.bot.dto.market that return CurrencyPairDTO Modifier and Type Method Description CurrencyPairDTO
TickerDTO. getCurrencyPair()
Getter for currencyPair.Methods in tech.cassandre.trading.bot.dto.market with parameters of type CurrencyPairDTO Modifier and Type Method Description TickerDTO.Builder
TickerDTO.Builder. currencyPair(CurrencyPairDTO newCurrencyPair)
Currency pair. -
Uses of CurrencyPairDTO in tech.cassandre.trading.bot.dto.trade
Methods in tech.cassandre.trading.bot.dto.trade that return CurrencyPairDTO Modifier and Type Method Description CurrencyPairDTO
OrderDTO. getCurrencyPair()
Getter for currencyPair.Methods in tech.cassandre.trading.bot.dto.trade with parameters of type CurrencyPairDTO Modifier and Type Method Description OrderDTO.Builder
OrderDTO.Builder. currencyPair(CurrencyPairDTO newCurrencyPair)
Currency pair. -
Uses of CurrencyPairDTO in tech.cassandre.trading.bot.service
Methods in tech.cassandre.trading.bot.service that return types with arguments of type CurrencyPairDTO Modifier and Type Method Description Set<CurrencyPairDTO>
ExchangeService. getAvailableCurrencyPairs()
Get the list of available currency pairs for trading.Set<CurrencyPairDTO>
ExchangeServiceXChangeImplementation. getAvailableCurrencyPairs()
Methods in tech.cassandre.trading.bot.service with parameters of type CurrencyPairDTO Modifier and Type Method Description OrderCreationResultDTO
TradeService. createBuyLimitOrder(CurrencyPairDTO currencyPair, BigDecimal amount, BigDecimal limitPrice)
Creates a buy limit order.OrderCreationResultDTO
TradeServiceXChangeImplementation. createBuyLimitOrder(CurrencyPairDTO currencyPair, BigDecimal amount, BigDecimal limitPrice)
OrderCreationResultDTO
TradeService. createBuyMarketOrder(CurrencyPairDTO currencyPair, BigDecimal amount)
Creates a buy market order.OrderCreationResultDTO
TradeServiceXChangeImplementation. createBuyMarketOrder(CurrencyPairDTO currencyPair, BigDecimal amount)
OrderCreationResultDTO
TradeService. createSellLimitOrder(CurrencyPairDTO currencyPair, BigDecimal amount, BigDecimal limitPrice)
Creates a sell limit order.OrderCreationResultDTO
TradeServiceXChangeImplementation. createSellLimitOrder(CurrencyPairDTO currencyPair, BigDecimal amount, BigDecimal limitPrice)
OrderCreationResultDTO
TradeService. createSellMarketOrder(CurrencyPairDTO currencyPair, BigDecimal amount)
Creates a sell market order.OrderCreationResultDTO
TradeServiceXChangeImplementation. createSellMarketOrder(CurrencyPairDTO currencyPair, BigDecimal amount)
Optional<TickerDTO>
MarketService. getTicker(CurrencyPairDTO currencyPair)
Returns a ticker for a currency pair.Optional<TickerDTO>
MarketServiceXChangeImplementation. getTicker(CurrencyPairDTO currencyPair)
-
Uses of CurrencyPairDTO in tech.cassandre.trading.bot.strategy
Methods in tech.cassandre.trading.bot.strategy that return types with arguments of type CurrencyPairDTO Modifier and Type Method Description abstract Set<CurrencyPairDTO>
CassandreStrategy. getRequestedCurrencyPairs()
Implements this method to tell the bot which currency pairs your strategy will receive. -
Uses of CurrencyPairDTO in tech.cassandre.trading.bot.util.base
Methods in tech.cassandre.trading.bot.util.base with parameters of type CurrencyPairDTO Modifier and Type Method Description protected org.knowm.xchange.currency.CurrencyPair
BaseService. getCurrencyPair(CurrencyPairDTO currencyPairDTO)
Returns a XChange currency pair from a currency pair DTO. -
Uses of CurrencyPairDTO in tech.cassandre.trading.bot.util.dto
Methods in tech.cassandre.trading.bot.util.dto that return CurrencyPairDTO Modifier and Type Method Description CurrencyPairDTO
CurrencyPairDTO.Builder. create()
Creator. -
Uses of CurrencyPairDTO in tech.cassandre.trading.bot.util.mapper
Methods in tech.cassandre.trading.bot.util.mapper that return CurrencyPairDTO Modifier and Type Method Description CurrencyPairDTO
CassandreMapper. mapToCurrencyPairDTO(org.knowm.xchange.currency.CurrencyPair source)
Map CurrencyPair to CurrencyPairDTO.CurrencyPairDTO
CassandreMapperImpl. mapToCurrencyPairDTO(org.knowm.xchange.currency.CurrencyPair source)
-