object model
- Alphabetic
- By Inheritance
- model
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
sealed
trait
AccountType extends AnyRef
There are three types of accounts supported by OER API.
There are three types of accounts supported by OER API. For scala-forex library, the main difference between Unlimited/Enterprise and Developer users is that users with Unlimited/Enterprise accounts can use the base currency for API requests, but this library will provide automatic conversions between OER default base currencies(USD) and user-defined base currencies. However this will increase calls to the API and will slow down the performance.
-
sealed
trait
EodRounding extends AnyRef
User defined type for getNearestDay flag
-
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
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
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )
- object DeveloperAccount extends AccountType with Product with Serializable
- object EnterpriseAccount extends AccountType with Product with Serializable
-
object
EodRoundDown extends EodRounding with Product with Serializable
Round to previous day
-
object
EodRoundUp extends EodRounding with Product with Serializable
Round to next day
- object UnlimitedAccount extends AccountType with Product with Serializable