Class: Tradier::Balance
Instance Attribute Summary collapse
-
#account_number ⇒ Object
readonly
Returns the value of attribute account_number.
-
#account_type ⇒ Object
readonly
Returns the value of attribute account_type.
-
#accumFedAmt ⇒ Object
readonly
Returns the value of attribute accumFedAmt.
-
#accumFedPrev ⇒ Object
readonly
Returns the value of attribute accumFedPrev.
-
#bopmvEqty ⇒ Object
readonly
Returns the value of attribute bopmvEqty.
-
#cash_available ⇒ Object
readonly
Returns the value of attribute cash_available.
-
#cash_margin_value ⇒ Object
readonly
Returns the value of attribute cash_margin_value.
-
#cashMgnCashAv ⇒ Object
readonly
Returns the value of attribute cashMgnCashAv.
-
#currType ⇒ Object
readonly
Returns the value of attribute currType.
-
#dividend_balance ⇒ Object
readonly
Returns the value of attribute dividend_balance.
-
#equity_value ⇒ Object
readonly
Returns the value of attribute equity_value.
-
#long_liquid_value ⇒ Object
readonly
Returns the value of attribute long_liquid_value.
-
#long_market_value ⇒ Object
readonly
Returns the value of attribute long_market_value.
-
#market_value ⇒ Object
readonly
Returns the value of attribute market_value.
-
#net_value ⇒ Object
readonly
Returns the value of attribute net_value.
-
#option_requirement ⇒ Object
readonly
Returns the value of attribute option_requirement.
-
#optnAddtlReqAmt ⇒ Object
readonly
Returns the value of attribute optnAddtlReqAmt.
-
#prev_cash_available ⇒ Object
readonly
Returns the value of attribute prev_cash_available.
-
#prev_maintenance_call ⇒ Object
readonly
Returns the value of attribute prev_maintenance_call.
-
#short_liquid_value ⇒ Object
readonly
Returns the value of attribute short_liquid_value.
-
#short_market_value ⇒ Object
readonly
Returns the value of attribute short_market_value.
-
#sweep ⇒ Object
readonly
Returns the value of attribute sweep.
Class Method Summary collapse
Methods inherited from Base
#[], #attr_equal, attr_reader, #attrs, #attrs_equal, #initialize, #update
Constructor Details
This class inherits a constructor from Tradier::Base
Instance Attribute Details
#account_number ⇒ Object (readonly)
Returns the value of attribute account_number.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def account_number @account_number end |
#account_type ⇒ Object (readonly)
Returns the value of attribute account_type.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def account_type @account_type end |
#accumFedAmt ⇒ Object (readonly)
Returns the value of attribute accumFedAmt.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def accumFedAmt @accumFedAmt end |
#accumFedPrev ⇒ Object (readonly)
Returns the value of attribute accumFedPrev.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def accumFedPrev @accumFedPrev end |
#bopmvEqty ⇒ Object (readonly)
Returns the value of attribute bopmvEqty.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def bopmvEqty @bopmvEqty end |
#cash_available ⇒ Object (readonly)
Returns the value of attribute cash_available.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def cash_available @cash_available end |
#cash_margin_value ⇒ Object (readonly)
Returns the value of attribute cash_margin_value.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def cash_margin_value @cash_margin_value end |
#cashMgnCashAv ⇒ Object (readonly)
Returns the value of attribute cashMgnCashAv.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def cashMgnCashAv @cashMgnCashAv end |
#currType ⇒ Object (readonly)
Returns the value of attribute currType.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def currType @currType end |
#dividend_balance ⇒ Object (readonly)
Returns the value of attribute dividend_balance.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def dividend_balance @dividend_balance end |
#equity_value ⇒ Object (readonly)
Returns the value of attribute equity_value.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def equity_value @equity_value end |
#long_liquid_value ⇒ Object (readonly)
Returns the value of attribute long_liquid_value.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def long_liquid_value @long_liquid_value end |
#long_market_value ⇒ Object (readonly)
Returns the value of attribute long_market_value.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def long_market_value @long_market_value end |
#market_value ⇒ Object (readonly)
Returns the value of attribute market_value.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def market_value @market_value end |
#net_value ⇒ Object (readonly)
Returns the value of attribute net_value.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def net_value @net_value end |
#option_requirement ⇒ Object (readonly)
Returns the value of attribute option_requirement.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def option_requirement @option_requirement end |
#optnAddtlReqAmt ⇒ Object (readonly)
Returns the value of attribute optnAddtlReqAmt.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def optnAddtlReqAmt @optnAddtlReqAmt end |
#prev_cash_available ⇒ Object (readonly)
Returns the value of attribute prev_cash_available.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def prev_cash_available @prev_cash_available end |
#prev_maintenance_call ⇒ Object (readonly)
Returns the value of attribute prev_maintenance_call.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def prev_maintenance_call @prev_maintenance_call end |
#short_liquid_value ⇒ Object (readonly)
Returns the value of attribute short_liquid_value.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def short_liquid_value @short_liquid_value end |
#short_market_value ⇒ Object (readonly)
Returns the value of attribute short_market_value.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def short_market_value @short_market_value end |
#sweep ⇒ Object (readonly)
Returns the value of attribute sweep.
6 7 8 |
# File 'lib/tradier/balance.rb', line 6 def sweep @sweep end |
Class Method Details
.from_response(body = {}) ⇒ Object
13 14 15 |
# File 'lib/tradier/balance.rb', line 13 def self.from_response(body={}) new(body[:balances] || body) end |