All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.quantarray.anaheim.finance.MarketItemReader1.scala Maven / Gradle / Ivy

The newest version!
package com.quantarray.anaheim.finance

import scala.annotation.implicitNotFound

/**
 * Market item reader of 1 asset.
 */
@implicitNotFound("Cannot find MarketItemReader1 for asset ${A} and market context type ${T}.")
trait MarketItemReader1[A, T] {
  type Out

  def item(asset: A)(implicit mc: MarketContext[T]): Out
}

object MarketItemReader1 {
  type Aux[A, T, Out0] = MarketItemReader1[A, T] {type Out = Out0}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy