Interface TradeRepository

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<Trade,​String>, org.springframework.data.repository.Repository<Trade,​String>

    @Repository
    public interface TradeRepository
    extends org.springframework.data.repository.CrudRepository<Trade,​String>
    Trade repository.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      List<Trade> findByOrderByTimestampAsc()
      Find all orders by timestamp.
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteById, existsById, findAll, findAllById, findById, save, saveAll
    • Method Detail

      • findByOrderByTimestampAsc

        List<Trade> findByOrderByTimestampAsc()
        Find all orders by timestamp.
        Returns:
        positions