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}
}