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
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val eodCacheSize: Int
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val nowishCacheSize: Int
- val nowishSecs: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )