class TradeServiceImpl implements TradeService {

    @Override
    public List<Trade> getLastTrades(long[] assetIds) {
        final TransactionalDataSource dataSource = databaseManager.getDataSource();
        return tradeTable.getLastTrades(dataSource, assetIds);
    }

    public  TradeServiceImpl(
        final DatabaseManager databaseManager,
        final Blockchain blockchain,
        final TradeTable tradeTable,
        final IteratorToStreamConverter<Trade> converter
    );
    @Inject public  TradeServiceImpl(
        final DatabaseManager databaseManager,
        final Blockchain blockchain,
        final TradeTable tradeTable
    );

}