Sha256: 5be8656958d286ca05b223638a37d3e5d66bff897ce08b8f12fe317914b1822b

Contents?: true

Size: 732 Bytes

Versions: 1

Compression:

Stored size: 732 Bytes

Contents

# frozen_string_literal: true

require "active_support/configurable"
require "finrb/config"
require "finrb/decimal"
require "finrb/cashflows"
require "finrb/utils"

class FinrbError < StandardError; end

# The *Finrb* module adheres to the following conventions for
# financial calculations:
#
#  * Positive values represent cash inflows (money received); negative
#    values represent cash outflows (payments).
#  * *principal* represents the outstanding balance of a loan or annuity.
#  * *rate* represents the interest rate _per period_.
module Finrb
  autoload :Amortization, "finrb/amortization"
  autoload :Rate,         "finrb/rates"
  autoload :Transaction,  "finrb/transaction"
  autoload :Utils,        "finrb/utils"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
finrb-0.1.0 lib/finrb.rb