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.service Service.tech.cassandre.trading.bot.service.intern Intern implementation.tech.cassandre.trading.bot.strategy Strategy. -
-
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()
Methods in tech.cassandre.trading.bot.batch with parameters of type PositionDTO Modifier and Type Method Description void
PositionFlux. restorePosition(PositionDTO position)
Restore position. -
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.Methods in tech.cassandre.trading.bot.service with parameters of type PositionDTO Modifier and Type Method Description void
PositionService. backupPosition(PositionDTO position)
Backup position.void
PositionService. restorePosition(PositionDTO position)
Restore position. -
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()
Methods in tech.cassandre.trading.bot.service.intern with parameters of type PositionDTO Modifier and Type Method Description void
PositionServiceImplementation. backupPosition(PositionDTO position)
void
PositionServiceImplementation. restorePosition(PositionDTO position)
-
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 Map<Long,PositionDTO>
GenericCassandreStrategy. getPositions()
Getter positions.Methods in tech.cassandre.trading.bot.strategy with parameters of type PositionDTO Modifier and Type Method Description void
BasicCassandreStrategy. onPositionStatusUpdate(PositionDTO position)
void
BasicTa4jCassandreStrategy. onPositionStatusUpdate(PositionDTO position)
void
CassandreStrategyInterface. onPositionStatusUpdate(PositionDTO position)
Method triggered on every position status update.void
BasicCassandreStrategy. onPositionUpdate(PositionDTO position)
void
BasicTa4jCassandreStrategy. onPositionUpdate(PositionDTO position)
void
CassandreStrategyInterface. onPositionUpdate(PositionDTO position)
Method triggered on every position update.void
BasicCassandreStrategy. positionUpdate(PositionDTO position)
void
BasicTa4jCassandreStrategy. positionUpdate(PositionDTO position)
void
CassandreStrategyInterface. positionUpdate(PositionDTO position)
Method called by streams on every position update.void
CassandreStrategyInterface. restorePosition(PositionDTO position)
Restore position from database.void
GenericCassandreStrategy. restorePosition(PositionDTO position)
-