case class ForexConfig(appId: String, accountLevel: AccountType, nowishCacheSize: Int = 13530, nowishSecs: Int = 300, eodCacheSize: Int = 405900, getNearestDay: EodRounding = EodRoundDown, baseCurrency: CurrencyUnit = CurrencyUnit.USD) extends Product with Serializable
Configure class for Forex object
- appId
Key for the api
- accountLevel
Type of the registered account
- nowishCacheSize
Cache for nowish look up
- nowishSecs
Time range for nowish look up
- eodCacheSize
Cache for historical lookup
- getNearestDay
Flag for deciding whether to get the exchange rate on closer day or previous day
- baseCurrency
Base currency is set to be USD by default if configurableBase flag is false, otherwise it is user-defined
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ForexConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ForexConfig(appId: String, accountLevel: AccountType, nowishCacheSize: Int = 13530, nowishSecs: Int = 300, eodCacheSize: Int = 405900, getNearestDay: EodRounding = EodRoundDown, baseCurrency: CurrencyUnit = CurrencyUnit.USD)
- appId
Key for the api
- accountLevel
Type of the registered account
- nowishCacheSize
Cache for nowish look up
- nowishSecs
Time range for nowish look up
- eodCacheSize
Cache for historical lookup
- getNearestDay
Flag for deciding whether to get the exchange rate on closer day or previous day
- baseCurrency
Base currency is set to be USD by default if configurableBase flag is false, otherwise it is user-defined
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val accountLevel: AccountType
- val appId: String
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val baseCurrency: CurrencyUnit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val eodCacheSize: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val getNearestDay: EodRounding
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val nowishCacheSize: Int
- val nowishSecs: Int
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated