Uses of Class
tech.cassandre.trading.bot.dto.position.PositionDTO
-
Packages that use PositionDTO Package Description tech.cassandre.trading.bot.batch Batches.tech.cassandre.trading.bot.dto.position Position DTO.tech.cassandre.trading.bot.service Service.tech.cassandre.trading.bot.strategy Strategy.tech.cassandre.trading.bot.util.mapper Mapper for DTO. -
-
Uses of PositionDTO in tech.cassandre.trading.bot.batch
Methods in tech.cassandre.trading.bot.batch that return types with arguments of type PositionDTO Modifier and Type Method Description protected Set<PositionDTO>
PositionFlux. getNewValues()
Set<PositionDTO>
PositionFlux. saveValues(Set<PositionDTO> newValues)
Method parameters in tech.cassandre.trading.bot.batch with type arguments of type PositionDTO Modifier and Type Method Description Set<PositionDTO>
PositionFlux. saveValues(Set<PositionDTO> newValues)
-
Uses of PositionDTO in tech.cassandre.trading.bot.dto.position
Methods in tech.cassandre.trading.bot.dto.position that return PositionDTO Modifier and Type Method Description PositionDTO
PositionDTO.PositionDTOBuilder. build()
PositionDTO
PositionCreationResultDTO. getPosition()
Position (filled if position is successful).Constructors in tech.cassandre.trading.bot.dto.position with parameters of type PositionDTO Constructor Description PositionCreationResultDTO(PositionDTO newPosition)
Constructor for successful position creation. -
Uses of PositionDTO in tech.cassandre.trading.bot.service
Methods in tech.cassandre.trading.bot.service that return types with arguments of type PositionDTO Modifier and Type Method Description Optional<PositionDTO>
PositionService. getPositionById(long id)
Get position by id.Optional<PositionDTO>
PositionServiceCassandreImplementation. getPositionById(long id)
Set<PositionDTO>
PositionService. getPositions()
Get positions.Set<PositionDTO>
PositionServiceCassandreImplementation. getPositions()
-
Uses of PositionDTO in tech.cassandre.trading.bot.strategy
Methods in tech.cassandre.trading.bot.strategy that return types with arguments of type PositionDTO Modifier and Type Method Description Optional<PositionDTO>
GenericCassandreStrategy. getPositionByPositionId(long positionId)
Get a position by its id.Map<Long,PositionDTO>
GenericCassandreStrategy. getPositions()
Returns list of positions.Method parameters in tech.cassandre.trading.bot.strategy with type arguments of type PositionDTO Modifier and Type Method Description void
CassandreStrategyInterface. onPositionsStatusUpdates(Map<Long,PositionDTO> positions)
Method called by Cassandre when there are positions status updates.void
GenericCassandreStrategy. onPositionsStatusUpdates(Map<Long,PositionDTO> positions)
void
CassandreStrategyInterface. onPositionsUpdates(Map<Long,PositionDTO> positions)
Method called by Cassandre when there are positions updates.void
GenericCassandreStrategy. onPositionsUpdates(Map<Long,PositionDTO> positions)
void
CassandreStrategyInterface. positionsUpdates(Set<PositionDTO> positions)
Method called by streams on positions updates.void
GenericCassandreStrategy. positionsUpdates(Set<PositionDTO> positions)
-
Uses of PositionDTO in tech.cassandre.trading.bot.util.mapper
Methods in tech.cassandre.trading.bot.util.mapper that return PositionDTO Modifier and Type Method Description PositionDTO
PositionMapper. mapToPositionDTO(Position source)
Methods in tech.cassandre.trading.bot.util.mapper with parameters of type PositionDTO Modifier and Type Method Description Position
PositionMapper. mapToPosition(PositionDTO source)
void
PositionMapper. updatePosition(PositionDTO source, Position target)
-