Uses of Class
tech.cassandre.trading.bot.domain.Position
-
Packages that use Position Package Description tech.cassandre.trading.bot.repository Repository.tech.cassandre.trading.bot.util.mapper Mapper for DTO. -
-
Uses of Position in tech.cassandre.trading.bot.repository
Methods in tech.cassandre.trading.bot.repository that return types with arguments of type Position Modifier and Type Method Description List<Position>
PositionRepository. findByOrderById()
Retrieve all positions (sorted by id).Optional<Position>
PositionRepository. findByPositionId(long positionId)
Find a position by its position id.List<Position>
PositionRepository. findByStatus(PositionStatusDTO status)
Find positions with a specific status.List<Position>
PositionRepository. findByStatusIn(Set<PositionStatusDTO> status)
Find positions with any of specific status.List<Position>
PositionRepository. findByStatusNot(PositionStatusDTO status)
Find positions without a specific status. -
Uses of Position in tech.cassandre.trading.bot.util.mapper
Methods in tech.cassandre.trading.bot.util.mapper that return Position Modifier and Type Method Description Position
PositionMapper. mapToPosition(PositionDTO source)
Methods in tech.cassandre.trading.bot.util.mapper with parameters of type Position Modifier and Type Method Description PositionDTO
PositionMapper. mapToPositionDTO(Position source)
default PositionRulesDTO
PositionMapper. mapToPositionRulesDTO(Position source)
void
PositionMapper. updatePosition(PositionDTO source, Position target)
-