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

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

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

/**
 * Market.
 */
trait Market {

  def item[T, A, Out](asset: A)(implicit mc: MarketContext[T], mir: MarketItemReader1.Aux[A, T, Out]): Out = mir.item(asset)

  def items[T, A1, A2, Out](asset1: A1, asset2: A2)(implicit mc: MarketContext[T], mir: MarketItemReader2.Aux[A1, A2, T, Out]): Out = mir.item(asset1, asset2)

  def items[T, A1, A2, A3, Out](asset1: A1, asset2: A2, asset3: A3)(implicit mc: MarketContext[T], mir: MarketItemReader3.Aux[A1, A2, A3, T, Out]): Out = mir.item(asset1, asset2, asset3)

  def items[T, A1, A2, A3, A4, Out](asset1: A1, asset2: A2, asset3: A3, asset4: A4)(implicit mc: MarketContext[T], mir: MarketItemReader4.Aux[A1, A2, A3, A4, T, Out]): Out = mir.item(asset1, asset2, asset3, asset4)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy