Class: Mosaic::Sdk::Models::Nav
- Defined in:
- lib/mosaic/sdk/models/nav.rb
Overview
Represents the collection of NAVs (Net Asset Values) from the Mosaic API.
NAVs are always accessed in the context of a clone via
/v2/clones/:clone_id/navs. In addition to the standard Base#list
and #create methods, this class provides #latest and #for_date
for convenient access to specific NAV values.
Defined Under Namespace
Classes: Instance
Instance Method Summary collapse
-
#create(price:, unit:, date:, pricing_method:, bank_id:) ⇒ Instance
Creates a new NAV for the parent clone.
-
#for_date(date) ⇒ Instance
Returns the NAV for a specific date.
-
#latest ⇒ Instance
Returns the latest NAV for the parent clone.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Mosaic::Sdk::Models::Base