Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pangiole/navarrus

Computational Finance in Scala
https://github.com/pangiole/navarrus

Last synced: 30 days ago
JSON representation

Computational Finance in Scala

Awesome Lists containing this project

README

        

# navarrus
Computational Finance in Scala

## Currency
Currency is represented by the ``navarrus.Currency`` class whose instances can be created passing the [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm) currency code.

```scala
// Currency for your default locale
val DefaultCurrency = Currency()

// British Pound for your default locale
val GBP = Currency("GBP")

// or
val LocalizedBritishPound = Currency("GBP", java.util.Locale.US)
```