Class: IGMarkets::ClientAccountSummary
- Defined in:
- lib/ig_markets/client_account_summary.rb
Overview
Contains details on an IG Markets client account summary. Returned by DealingPlatform#client_account_summary.
Defined Under Namespace
Classes: AccountDetails, FormDetails
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
-
#account_info ⇒ Account::Balance
The account_info attribute.
-
#account_type ⇒ Symbol
The account_type attribute.
-
#accounts ⇒ AccountDetails
The accounts attribute.
-
#authentication_status ⇒ Symbol
The authentication_status attribute.
-
#client_id ⇒ Object
The client_id attribute.
-
#currency_iso_code ⇒ String
The currency_iso_code attribute.
-
#currency_symbol ⇒ Object
The currency_symbol attribute.
-
#current_account_id ⇒ Object
The current_account_id attribute.
-
#dealing_enabled ⇒ Boolean
The dealing_enabled attribute.
-
#encrypted ⇒ Object
The encrypted attribute.
-
#form_details ⇒ FormDetails
The form_details attribute.
-
#has_active_demo_accounts ⇒ Boolean
The has_active_demo_accounts attribute.
-
#has_active_live_accounts ⇒ Boolean
The has_active_live_accounts attribute.
-
#ig_company ⇒ Object
The ig_company attribute.
-
#lightstreamer_endpoint ⇒ Object
The lightstreamer_endpoint attribute.
-
#rerouting_environment ⇒ Symbol
The rerouting_environment attribute.
-
#timezone_offset ⇒ Float
The timezone_offset attribute.
-
#trailing_stops_enabled ⇒ Boolean
The trailing_stops_enabled attribute.
Methods inherited from Model
#==, allowed_values, attribute, attribute_type, attribute_value_allowed?, defined_attribute_names, deprecated_attribute, #initialize, #initialize_copy, #inspect, #to_h, valid_attribute?
Constructor Details
This class inherits a constructor from IGMarkets::Model
Instance Method Details
#account_info ⇒ Account::Balance
The account_info attribute.
20 |
# File 'lib/ig_markets/client_account_summary.rb', line 20 attribute :account_info, Account::Balance |
#account_type ⇒ Symbol
The account_type attribute.
21 |
# File 'lib/ig_markets/client_account_summary.rb', line 21 attribute :account_type, Symbol, allowed_values: %i[cfd physical spreadbet] |
#accounts ⇒ AccountDetails
The accounts attribute.
22 |
# File 'lib/ig_markets/client_account_summary.rb', line 22 attribute :accounts, AccountDetails |
#authentication_status ⇒ Symbol
The authentication_status attribute.
23 24 25 26 |
# File 'lib/ig_markets/client_account_summary.rb', line 23 attribute :authentication_status, Symbol, allowed_values: %i[authenticated authenticated_missing_credentials change_environment disabled_preferred_account missing_preferred_account rejected_invalid_client_version] |
#client_id ⇒ Object
The client_id attribute.
27 |
# File 'lib/ig_markets/client_account_summary.rb', line 27 attribute :client_id |
#currency_iso_code ⇒ String
The currency_iso_code attribute.
28 |
# File 'lib/ig_markets/client_account_summary.rb', line 28 attribute :currency_iso_code, String, regex: Regex::CURRENCY |
#currency_symbol ⇒ Object
The currency_symbol attribute.
29 |
# File 'lib/ig_markets/client_account_summary.rb', line 29 attribute :currency_symbol |
#current_account_id ⇒ Object
The current_account_id attribute.
30 |
# File 'lib/ig_markets/client_account_summary.rb', line 30 attribute :current_account_id |
#dealing_enabled ⇒ Boolean
The dealing_enabled attribute.
31 |
# File 'lib/ig_markets/client_account_summary.rb', line 31 attribute :dealing_enabled, Boolean |
#encrypted ⇒ Object
The encrypted attribute.
32 |
# File 'lib/ig_markets/client_account_summary.rb', line 32 attribute :encrypted |
#form_details ⇒ FormDetails
The form_details attribute.
33 |
# File 'lib/ig_markets/client_account_summary.rb', line 33 attribute :form_details, FormDetails |
#has_active_demo_accounts ⇒ Boolean
The has_active_demo_accounts attribute.
34 |
# File 'lib/ig_markets/client_account_summary.rb', line 34 attribute :has_active_demo_accounts, Boolean |
#has_active_live_accounts ⇒ Boolean
The has_active_live_accounts attribute.
35 |
# File 'lib/ig_markets/client_account_summary.rb', line 35 attribute :has_active_live_accounts, Boolean |
#ig_company ⇒ Object
The ig_company attribute.
36 |
# File 'lib/ig_markets/client_account_summary.rb', line 36 attribute :ig_company |
#lightstreamer_endpoint ⇒ Object
The lightstreamer_endpoint attribute.
37 |
# File 'lib/ig_markets/client_account_summary.rb', line 37 attribute :lightstreamer_endpoint |
#rerouting_environment ⇒ Symbol
The rerouting_environment attribute.
38 |
# File 'lib/ig_markets/client_account_summary.rb', line 38 attribute :rerouting_environment, Symbol, allowed_values: %i[demo live test uat] |
#timezone_offset ⇒ Float
The timezone_offset attribute.
39 |
# File 'lib/ig_markets/client_account_summary.rb', line 39 attribute :timezone_offset, Float |