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.service.intern Intern implementation.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 Optional<PositionDTO>
PositionFlux. saveValue(PositionDTO newValue)
Methods in tech.cassandre.trading.bot.batch with parameters of type PositionDTO Modifier and Type Method Description Optional<PositionDTO>
PositionFlux. saveValue(PositionDTO newValue)
-
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 order creation 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.Set<PositionDTO>
PositionService. getPositions()
Get positions. -
Uses of PositionDTO in tech.cassandre.trading.bot.service.intern
Methods in tech.cassandre.trading.bot.service.intern that return types with arguments of type PositionDTO Modifier and Type Method Description Optional<PositionDTO>
PositionServiceImplementation. getPositionById(long id)
Set<PositionDTO>
PositionServiceImplementation. 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.Methods in tech.cassandre.trading.bot.strategy with parameters of type PositionDTO Modifier and Type Method Description void
CassandreStrategyInterface. onPositionStatusUpdate(PositionDTO position)
Method triggered on every position status update.void
GenericCassandreStrategy. onPositionStatusUpdate(PositionDTO position)
void
CassandreStrategyInterface. onPositionUpdate(PositionDTO position)
Method triggered on every position update.void
GenericCassandreStrategy. onPositionUpdate(PositionDTO position)
void
CassandreStrategyInterface. positionUpdate(PositionDTO position)
Method called by streams on every position update.void
GenericCassandreStrategy. positionUpdate(PositionDTO position)
-
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)
-