finmodeling 0.1 → 0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +0 -0
- data/Gemfile +2 -0
- data/README.md +289 -269
- data/Rakefile +12 -0
- data/TODO.txt +113 -20
- data/examples/{dump_report.rb → dump_latest_10k.rb} +1 -1
- data/examples/list_disclosures.rb +50 -0
- data/examples/lists/nasdaq-mid-to-mega-tech-symbols.txt +0 -0
- data/examples/show_report.rb +112 -32
- data/examples/show_reports.rb +162 -33
- data/finmodeling.gemspec +4 -1
- data/lib/finmodeling/annual_report_filing.rb +97 -18
- data/lib/finmodeling/array_with_stats.rb +0 -0
- data/lib/finmodeling/assets_calculation.rb +12 -3
- data/lib/finmodeling/assets_item.rb +0 -0
- data/lib/finmodeling/assets_item_vectors.rb +0 -0
- data/lib/finmodeling/balance_sheet_analyses.rb +19 -4
- data/lib/finmodeling/balance_sheet_calculation.rb +52 -37
- data/lib/finmodeling/calculation_summary.rb +119 -14
- data/lib/finmodeling/can_cache_classifications.rb +0 -0
- data/lib/finmodeling/can_cache_summaries.rb +0 -0
- data/lib/finmodeling/can_choose_successive_periods.rb +15 -0
- data/lib/finmodeling/can_classify_rows.rb +0 -0
- data/lib/finmodeling/capm.rb +80 -0
- data/lib/finmodeling/cash_change_calculation.rb +3 -3
- data/lib/finmodeling/cash_change_item.rb +0 -0
- data/lib/finmodeling/cash_change_item_vectors.rb +0 -0
- data/lib/finmodeling/cash_change_summary_from_differences.rb +36 -0
- data/lib/finmodeling/cash_flow_statement_analyses.rb +36 -0
- data/lib/finmodeling/cash_flow_statement_calculation.rb +28 -52
- data/lib/finmodeling/classifiers.rb +2 -0
- data/lib/finmodeling/company.rb +0 -0
- data/lib/finmodeling/company_filing.rb +30 -7
- data/lib/finmodeling/company_filing_calculation.rb +16 -6
- data/lib/finmodeling/company_filings.rb +112 -46
- data/lib/finmodeling/comprehensive_income_calculation.rb +60 -0
- data/lib/finmodeling/comprehensive_income_statement_calculation.rb +74 -0
- data/lib/finmodeling/comprehensive_income_statement_item.rb +20 -0
- data/lib/finmodeling/comprehensive_income_statement_item_vectors.rb +235 -0
- data/lib/finmodeling/config.rb +0 -0
- data/lib/finmodeling/debt_cost_of_capital.rb +14 -0
- data/lib/finmodeling/equity_change_calculation.rb +43 -0
- data/lib/finmodeling/equity_change_item.rb +25 -0
- data/lib/finmodeling/equity_change_item_vectors.rb +156 -0
- data/lib/finmodeling/factory.rb +0 -0
- data/lib/finmodeling/fama_french_cost_of_equity.rb +119 -0
- data/lib/finmodeling/float_helpers.rb +14 -8
- data/lib/finmodeling/forecasted_reformulated_balance_sheet.rb +55 -0
- data/lib/finmodeling/forecasted_reformulated_income_statement.rb +110 -0
- data/lib/finmodeling/forecasts.rb +4 -4
- data/lib/finmodeling/has_string_classifer.rb +0 -0
- data/lib/finmodeling/income_statement_analyses.rb +23 -17
- data/lib/finmodeling/income_statement_calculation.rb +46 -43
- data/lib/finmodeling/income_statement_item.rb +1 -1
- data/lib/finmodeling/income_statement_item_vectors.rb +24 -13
- data/lib/finmodeling/invalid_filing_error.rb +4 -0
- data/lib/finmodeling/liabs_and_equity_calculation.rb +18 -8
- data/lib/finmodeling/liabs_and_equity_item.rb +1 -1
- data/lib/finmodeling/liabs_and_equity_item_vectors.rb +24 -24
- data/lib/finmodeling/linear_trend_forecasting_policy.rb +23 -0
- data/lib/finmodeling/net_income_calculation.rb +23 -10
- data/lib/finmodeling/net_income_summary_from_differences.rb +51 -0
- data/lib/finmodeling/paths.rb +0 -0
- data/lib/finmodeling/period_array.rb +8 -4
- data/lib/finmodeling/quarterly_report_filing.rb +9 -4
- data/lib/finmodeling/rate.rb +8 -0
- data/lib/finmodeling/ratio.rb +0 -0
- data/lib/finmodeling/reformulated_balance_sheet.rb +47 -88
- data/lib/finmodeling/reformulated_cash_flow_statement.rb +18 -41
- data/lib/finmodeling/reformulated_income_statement.rb +44 -206
- data/lib/finmodeling/reformulated_shareholder_equity_statement.rb +50 -0
- data/lib/finmodeling/reoi_valuation.rb +104 -0
- data/lib/finmodeling/shareholder_equity_statement_calculation.rb +34 -0
- data/lib/finmodeling/string_helpers.rb +18 -1
- data/lib/finmodeling/time_series_estimator.rb +25 -0
- data/lib/finmodeling/trailing_avg_forecasting_policy.rb +23 -0
- data/lib/finmodeling/version.rb +1 -1
- data/lib/finmodeling/weighted_avg_cost_of_capital.rb +35 -0
- data/lib/finmodeling/yahoo_finance_helpers.rb +20 -0
- data/lib/finmodeling.rb +33 -2
- data/spec/annual_report_filing_spec.rb +81 -45
- data/spec/assets_calculation_spec.rb +7 -4
- data/spec/assets_item_spec.rb +9 -14
- data/spec/balance_sheet_analyses_spec.rb +13 -13
- data/spec/balance_sheet_calculation_spec.rb +45 -51
- data/spec/calculation_summary_spec.rb +113 -21
- data/spec/can_classify_rows_spec.rb +0 -0
- data/spec/cash_change_calculation_spec.rb +1 -10
- data/spec/cash_change_item_spec.rb +10 -18
- data/spec/cash_flow_statement_calculation_spec.rb +10 -24
- data/spec/company_beta_spec.rb +53 -0
- data/spec/company_filing_calculation_spec.rb +39 -49
- data/spec/company_filing_spec.rb +0 -0
- data/spec/company_filings_spec.rb +75 -25
- data/spec/company_spec.rb +37 -47
- data/spec/comprehensive_income_statement_calculation_spec.rb +54 -0
- data/spec/comprehensive_income_statement_item_spec.rb +56 -0
- data/spec/debt_cost_of_capital_spec.rb +19 -0
- data/spec/equity_change_calculation_spec.rb +33 -0
- data/spec/equity_change_item_spec.rb +58 -0
- data/spec/factory_spec.rb +2 -2
- data/spec/forecasts_spec.rb +2 -2
- data/spec/income_statement_analyses_spec.rb +23 -21
- data/spec/income_statement_calculation_spec.rb +17 -49
- data/spec/income_statement_item_spec.rb +17 -29
- data/spec/liabs_and_equity_calculation_spec.rb +6 -3
- data/spec/liabs_and_equity_item_spec.rb +14 -22
- data/spec/linear_trend_forecasting_policy_spec.rb +37 -0
- data/spec/matchers/custom_matchers.rb +79 -0
- data/spec/mocks/calculation.rb +0 -0
- data/spec/mocks/income_statement_analyses.rb +0 -0
- data/spec/mocks/sec_query.rb +0 -0
- data/spec/net_income_calculation_spec.rb +16 -10
- data/spec/period_array.rb +0 -0
- data/spec/quarterly_report_filing_spec.rb +21 -38
- data/spec/rate_spec.rb +0 -0
- data/spec/ratio_spec.rb +0 -0
- data/spec/reformulated_balance_sheet_spec.rb +56 -33
- data/spec/reformulated_cash_flow_statement_spec.rb +18 -10
- data/spec/reformulated_income_statement_spec.rb +16 -15
- data/spec/reformulated_shareholder_equity_statement_spec.rb +43 -0
- data/spec/reoi_valuation_spec.rb +146 -0
- data/spec/shareholder_equity_statement_calculation_spec.rb +59 -0
- data/spec/spec_helper.rb +4 -1
- data/spec/string_helpers_spec.rb +15 -13
- data/spec/time_series_estimator_spec.rb +61 -0
- data/spec/trailing_avg_forecasting_policy_spec.rb +37 -0
- data/spec/weighted_avg_cost_of_capital_spec.rb +32 -0
- data/tools/create_equity_change_training_vectors.rb +49 -0
- data/tools/time_specs.sh +7 -0
- metadata +182 -36
- data/lib/finmodeling/constant_forecasting_policy.rb +0 -23
- data/lib/finmodeling/generic_forecasting_policy.rb +0 -19
- data/spec/constant_forecasting_policy_spec.rb +0 -37
- data/spec/generic_forecasting_policy_spec.rb +0 -33
data/README.md
CHANGED
|
@@ -1,292 +1,312 @@
|
|
|
1
1
|
## Overview
|
|
2
2
|
|
|
3
|
-
FinModeling is
|
|
3
|
+
FinModeling is an equity valuation framework. It can retrieve and parse [XBRL](http://en.wikipedia.org/wiki/XBRL)-based filings from SEC Edgar. As of March 2013, it can successfully parse the last 2-5 years of quarterly and annual filings from 52% of the Nasdaq 100 companies. (The remainder fail due to a long-tail distribution of filing formatting peculiarities for which I haven't yet written special-case code to handle.)
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
7
|
-
- Pulls annual (10-k) and quarterly (10-q) financial reports from SEC
|
|
7
|
+
- Pulls annual (10-k) and quarterly (10-q) financial reports from SEC Edgar
|
|
8
8
|
- Uses Naive Bayes Classifiers to classify financial statement items
|
|
9
9
|
- trained on medium-to-large NASDAQ tech companies
|
|
10
10
|
- Reformulates GAAP statements to better highlight enterprise value
|
|
11
11
|
- Generates forecasts based on analysis of historical performance
|
|
12
|
+
- Calculates cost of capital using either [CAPM](http://en.wikipedia.org/wiki/Capital_asset_pricing_model) or [Fama/French](http://en.wikipedia.org/wiki/Fama%E2%80%93French_three-factor_model) cost of equity, and [WACC](http://en.wikipedia.org/wiki/Weighted_average_cost_of_capital)
|
|
13
|
+
- Performs residual operating income-based valuation.
|
|
12
14
|
|
|
13
|
-
## Example 1:
|
|
15
|
+
## Example 1: Valuing Oracle's Common Equity, Based on 4 Quarters of History and 2 Quarters of Forecasts
|
|
14
16
|
|
|
15
17
|
After running "rake install" (to build and install the 'finmodeling' gem), you can run:
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
$ ./examples/show_reports.rb --num-forecasts 2 --do-valuation orcl 2012-02-01
|
|
18
20
|
Forecasting 2 periods
|
|
21
|
+
Doing valuation
|
|
19
22
|
company name: ORACLE CORP
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
23
|
+
|
|
24
|
+
2012-02-29 2012-05-31 2012-08-31 2012-11-30 2013-02-28E 2013-05-28E
|
|
25
|
+
NOA ($MM) 29,250.0 32,172.0 29,172.0 31,703.0 31,072.0 33,307.0
|
|
26
|
+
NFA ($MM) 14,016.0 11,915.0 14,564.0 11,707.0 14,672.0 15,375.0
|
|
27
|
+
Minority Interest 393.0 399.0 407.0 427.0 0.0 0.0
|
|
28
|
+
($MM)
|
|
29
|
+
CSE ($MM) 42,873.0 43,688.0 43,329.0 42,983.0 45,743.0 48,682.0
|
|
30
|
+
Composition Ratio 2.0869 2.7001 2.0030 2.7080 2.1177 2.1663
|
|
31
|
+
NOA Growth 0.4590 -0.3218 0.3961 -0.0783 0.3296
|
|
32
|
+
CSE Growth 0.0775 -0.0322 -0.0316 0.2871 0.2909
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
2012-02-29 2012-05-31 2012-08-31 2012-11-30 2013-02-28E 2013-05-28E
|
|
36
|
+
Revenue ($MM) 9,039.0 10,916.0 8,181.0 9,094.0 9,748.0 10,450.0
|
|
37
|
+
Core OI ($MM) 2,674.0 3,636.0 2,076.0 2,712.0 2,870.0 3,076.0
|
|
38
|
+
OI ($MM) 2,608.0 3,590.0 2,149.0 2,705.0
|
|
39
|
+
FI ($MM) -110.0 -138.0 -115.0 -124.0 -110.0 -137.0
|
|
40
|
+
NI ($MM) 2,498.0 3,452.0 2,034.0 2,581.0 2,760.0 2,939.0
|
|
41
|
+
Gross Margin 0.6008 0.6238 0.5941 0.6077
|
|
42
|
+
Sales PM 0.2958 0.3330 0.2537 0.2981 0.2943 0.2943
|
|
43
|
+
Operating PM 0.2885 0.3288 0.2626 0.2974
|
|
44
|
+
FI / Sales -0.0121 -0.0126 -0.0140 -0.0136 -0.0112 -0.0131
|
|
45
|
+
NI / Sales 0.2763 0.3162 0.2486 0.2838 0.2831 0.2812
|
|
46
|
+
Sales / NOA 1.4806 1.0199 1.2642 1.2610 1.3949
|
|
47
|
+
FI / NFA -0.0390 -0.0387 -0.0345 -0.0383 -0.0388
|
|
48
|
+
Revenue Growth 1.1139 -0.6815 0.5286 0.3254 0.3296
|
|
49
|
+
Core OI Growth 2.3835 -0.8918 1.9216 0.2582 0.3296
|
|
50
|
+
OI Growth 2.5532 -0.8693 1.5169
|
|
51
|
+
ReOI ($MM) 2,879.0 1,367.0 2,004.0 2,116.0 2,346.0
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
Unknown... 2012-05-31 2012-08-31 2012-11-30
|
|
55
|
+
C ($MM) 4,057.0 5,431.0 677.0
|
|
56
|
+
I ($MM) -10,966.0 -7,304.0 -11,021.0
|
|
57
|
+
d ($MM) 9,358.0 4,662.0 13,363.0
|
|
58
|
+
F ($MM) -2,449.0 -2,789.0 -3,019.0
|
|
59
|
+
FCF ($MM) -6,909.0 -1,873.0 -10,344.0
|
|
60
|
+
NI / C 0.8508 0.3745 3.8124
|
|
61
|
+
|
|
62
|
+
Cost of Capital
|
|
63
|
+
2013-03-10
|
|
64
|
+
Market Value of 169,100.0
|
|
65
|
+
Equity ($MM)
|
|
66
|
+
Market Value of 23,663.0
|
|
67
|
+
Debt ($MM)
|
|
68
|
+
Cost of Equity (%) 7.30
|
|
69
|
+
Cost of Debt (%) 3.20
|
|
70
|
+
Weighted Avg Cost 6.79
|
|
71
|
+
of Capital (%)
|
|
72
|
+
|
|
73
|
+
ReOI Valuation
|
|
74
|
+
2012-11-30 2013-02-28 2013-05-28E
|
|
75
|
+
ReOI ($MM) 2,352.0 2,574.0
|
|
76
|
+
PV(ReOI) ($MM) 2,356.0
|
|
77
|
+
CV ($MM) 37,886.0
|
|
78
|
+
PV(CV) ($MM) 37,954.0
|
|
79
|
+
Book Value of 42,983.0
|
|
80
|
+
Common Equity
|
|
81
|
+
($MM)
|
|
82
|
+
Enterprise Value 83,293.0
|
|
83
|
+
($MM)
|
|
84
|
+
NFA ($MM) 11,707.0
|
|
85
|
+
Value of Common 95,000.0
|
|
86
|
+
Equity ($MM)
|
|
87
|
+
# Shares (MM) 4,735.0
|
|
88
|
+
Value / Share ($) 20.06
|
|
89
|
+
|
|
90
|
+
## Example 2: More Detailed Analysis of Apple's Financials Since 2012-02-01
|
|
91
|
+
|
|
92
|
+
$ ./examples/show_reports.rb --balance-detail --income-detail --show-regressions aapl 2012-02-01
|
|
93
|
+
Balance sheet detail is enabled
|
|
94
|
+
Net income detail is enabled
|
|
95
|
+
Showing regressions
|
|
96
|
+
company name: APPLE INC
|
|
97
|
+
|
|
98
|
+
2012-03-31 2012-06-30 2012-09-29 2012-12-29
|
|
99
|
+
A ($MM) 150,934.0 162,896.0 176,064.0 196,088.0
|
|
100
|
+
L ($MM) 48,436.0 51,150.0 57,854.0 68,742.0
|
|
101
|
+
NOA ($MM) -9,931.0 -7,784.0 -5,624.0 -12,661.0
|
|
102
|
+
OA ($MM) 38,505.0 43,366.0 52,230.0 56,081.0
|
|
103
|
+
OL ($MM) 48,436.0 51,150.0 57,854.0 68,742.0
|
|
104
|
+
NFA ($MM) 112,429.0 119,530.0 123,834.0 140,007.0
|
|
105
|
+
FA ($MM) 112,429.0 119,530.0 123,834.0 140,007.0
|
|
106
|
+
FL ($MM) 0.0 0.0 0.0 0.0
|
|
107
|
+
Minority Interest 0.0 0.0 0.0 0.0
|
|
108
|
+
($MM)
|
|
109
|
+
CSE ($MM) 102,498.0 111,746.0 118,210.0 127,346.0
|
|
110
|
+
Composition Ratio -0.0883 -0.0651 -0.0454 -0.0904
|
|
111
|
+
NOA Δ ($MM) 2,147.0 2,160.0 -7,037.0
|
|
112
|
+
CSE Δ ($MM) 9,248.0 6,464.0 9,136.0
|
|
113
|
+
NOA Growth -0.6235 -0.7284 24.9157
|
|
114
|
+
CSE Growth 0.4140 0.2530 0.3479
|
|
115
|
+
|
|
116
|
+
NOA growth: a:-4.9150, b:12.7696, r:0.8642, var:145.5436
|
|
117
|
+
|
|
118
|
+
2012-03-31 2012-06-30 2012-09-29 2012-12-29
|
|
119
|
+
Revenue ($MM) 39,186.0 35,023.0 35,966.0 54,512.0
|
|
120
|
+
COGS ($MM) -20,622.0 -20,029.0 -21,565.0 -33,452.0
|
|
121
|
+
GM ($MM) 18,564.0 14,994.0 14,401.0 21,060.0
|
|
122
|
+
OE ($MM) -3,180.0 -3,421.0 -3,457.0 -3,850.0
|
|
123
|
+
OISBT ($MM) 15,384.0 11,573.0 10,944.0 17,210.0
|
|
124
|
+
Core OI ($MM) 11,526.0 8,637.0 8,256.0 12,778.0
|
|
125
|
+
OI ($MM) 11,526.0 8,637.0 8,256.0 12,778.0
|
|
126
|
+
FI ($MM) 96.0 187.0 -33.0 300.0
|
|
127
|
+
NI ($MM) 11,622.0 8,824.0 8,223.0 13,078.0
|
|
128
|
+
Gross Margin 0.4737 0.4281 0.4004 0.3863
|
|
129
|
+
Sales PM 0.2941 0.2466 0.2295 0.2344
|
|
130
|
+
Operating PM 0.2941 0.2466 0.2295 0.2344
|
|
131
|
+
FI / Sales 0.0024 0.0053 -0.0009 0.0055
|
|
132
|
+
NI / Sales 0.2965 0.2519 0.2286 0.2399
|
|
133
|
+
Sales / NOA -14.3024 -18.5327 -39.3094
|
|
134
|
+
FI / NFA 0.0067 -0.0011 0.0098
|
|
135
|
+
Revenue Growth -0.3626 0.1124 4.3013
|
|
136
|
+
Core OI Growth -0.6856 -0.1653 4.7648
|
|
137
|
+
OI Growth -0.6856 -0.1653 4.7648
|
|
138
|
+
ReOI ($MM) 8,876.0 8,443.0 12,913.0
|
|
139
|
+
|
|
140
|
+
operating pm: a:0.2806, b:-0.0196, r:-0.8581, var:0.0006
|
|
141
|
+
sales / noa: a:-11.5447, b:-12.5035, r:-0.9341, var:119.4351
|
|
142
|
+
revenue growth: a:-0.9816, b:2.3320, r:0.9085, var:4.3917
|
|
143
|
+
fi / nfa: a:0.0036, b:0.0015, r:0.2729, var:2.1244e-05
|
|
144
|
+
|
|
145
|
+
Unknown... 2012-06-30 2012-09-29 2012-12-29
|
|
146
|
+
C ($MM) 10,189.0 9,136.0 23,426.0
|
|
147
|
+
I ($MM) -2,971.0 -3,493.0 -2,791.0
|
|
148
|
+
d ($MM) -7,163.0 -6,109.0 -18,631.0
|
|
149
|
+
F ($MM) -55.0 466.0 -2,004.0
|
|
150
|
+
FCF ($MM) 7,218.0 5,643.0 20,635.0
|
|
151
|
+
NI / C 0.8660 0.9000 0.5582
|
|
152
|
+
|
|
153
|
+
## Example 3: Raw Numbers From Nike's Last 10-Q, Including Disclosures
|
|
154
|
+
|
|
155
|
+
$ ./examples/show_report.rb --show-disclosures NKE 10-q 0
|
|
156
|
+
Showing disclosures
|
|
157
|
+
company name: NIKE INC
|
|
158
|
+
url: http://www.sec.gov/Archives/edgar/data/320187/000119312513008172/0001193125-13-008172-index.htm
|
|
159
|
+
Balance Sheet (2012-11-30)
|
|
160
|
+
Assets (us-gaap_Assets_1)
|
|
161
|
+
[fa] Cash And Cash Equivalents At Carrying Value 2,291,000,000.0
|
|
162
|
+
[fa] Available For Sale Securities Current 1,234,000,000.0
|
|
163
|
+
[oa] Accounts Receivable Net Current 3,188,000,000.0
|
|
164
|
+
[oa] Inventory Finished Goods Net Of Reserves 3,318,000,000.0
|
|
165
|
+
[fa] Deferred Tax Assets Net Current 327,000,000.0
|
|
166
|
+
[oa] Prepaid Expense And Other Assets Current 733,000,000.0
|
|
167
|
+
[oa] Assets Of Disposal Group Including Discontinued 344,000,000.0
|
|
168
|
+
Operation Current
|
|
169
|
+
[oa] Property Plant And Equipment Gross 5,310,000,000.0
|
|
170
|
+
[oa] Accumulated Depreciation Depletion And Amortization -3,052,000,000.0
|
|
171
|
+
Property Plant And Equipment
|
|
172
|
+
[oa] Intangible Assets Net Excluding Goodwill 374,000,000.0
|
|
173
|
+
[oa] Goodwill 131,000,000.0
|
|
174
|
+
[fa] Deferred Income Taxes And Other Assets Noncurrent 973,000,000.0
|
|
175
|
+
Total 15,171,000,000.0
|
|
176
|
+
|
|
177
|
+
Liabilities And Stockholders Equity (us-gaap_LiabilitiesAndStockholdersEquity_1)
|
|
178
|
+
[fl] Long Term Debt Current 58,000,000.0
|
|
179
|
+
[fl] Short Term Borrowings 100,000,000.0
|
|
180
|
+
[ol] Accounts Payable Current 1,519,000,000.0
|
|
181
|
+
[ol] Accrued Liabilities Current 1,879,000,000.0
|
|
182
|
+
[fl] Accrued Income Taxes Current 45,000,000.0
|
|
183
|
+
[ol] Liabilities Of Disposal Group Including Discontinued 198,000,000.0
|
|
184
|
+
Operation Current
|
|
185
|
+
[fl] Long Term Debt Noncurrent 170,000,000.0
|
|
186
|
+
[fl] Deferred Income Taxes And Other Liabilities Noncurrent 1,188,000,000.0
|
|
187
|
+
[ol] Commitments And Contingencies 0.0
|
|
188
|
+
[fl] Temporary Equity Carrying Amount Attributable To Parent 0.0
|
|
189
|
+
[cse] Stockholders Equity 10,014,000,000.0
|
|
190
|
+
Total 15,171,000,000.0
|
|
191
|
+
|
|
147
192
|
Net Operational Assets
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
193
|
+
OA 10,346,000,000.0
|
|
194
|
+
OL -3,596,000,000.0
|
|
195
|
+
Total 6,750,000,000.0
|
|
196
|
+
|
|
152
197
|
Net Financial Assets
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
198
|
+
FA 4,825,000,000.0
|
|
199
|
+
FL -1,561,000,000.0
|
|
200
|
+
Total 3,264,000,000.0
|
|
201
|
+
|
|
157
202
|
Common Shareholders' Equity
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
[fibt] Other Nonoperating Income -817,000.0
|
|
176
|
-
[fibt] Interest Expense -17,020,000.0
|
|
177
|
-
[fibt] Gain Loss On Investments 1,590,000.0
|
|
178
|
-
[tax] Income Tax Expense Benefit -51,496,000.0
|
|
179
|
-
Total 234,591,000.0
|
|
180
|
-
|
|
203
|
+
NOA 6,750,000,000.0
|
|
204
|
+
NFA 3,264,000,000.0
|
|
205
|
+
MI -0.0
|
|
206
|
+
Total 10,014,000,000.0
|
|
207
|
+
|
|
208
|
+
Income Statement (2012-09-01 to 2012-11-30)
|
|
209
|
+
Net Income Loss (us-gaap_NetIncomeLoss_3)
|
|
210
|
+
[or] Sales Revenue Net 5,955,000,000.0
|
|
211
|
+
[cogs] Cost Of Goods Sold -3,425,000,000.0
|
|
212
|
+
[oe] Marketing And Advertising Expense -613,000,000.0
|
|
213
|
+
[oe] General And Administrative Expense -1,223,000,000.0
|
|
214
|
+
[fibt] Interest Income Expense Nonoperating Net 1,000,000.0
|
|
215
|
+
[fibt] Other Nonoperating Income Expense 17,000,000.0
|
|
216
|
+
[tax] Income Tax Expense Benefit -191,000,000.0
|
|
217
|
+
[fiat] Income Loss From Discontinued Operations Net Of Tax -137,000,000.0
|
|
218
|
+
Total 384,000,000.0
|
|
219
|
+
|
|
181
220
|
Gross Revenue
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
221
|
+
Operating Revenues (OR) 5,955,000,000.0
|
|
222
|
+
Cost of Goods Sold (COGS) -3,425,000,000.0
|
|
223
|
+
Total 2,530,000,000.0
|
|
224
|
+
|
|
186
225
|
Operating Income from sales, before tax (OISBT)
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
226
|
+
Gross Margin (GM) 2,530,000,000.0
|
|
227
|
+
Operating Expense (OE) -1,836,000,000.0
|
|
228
|
+
Total 694,000,000.0
|
|
229
|
+
|
|
191
230
|
Operating Income from sales, after tax (OISAT)
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
231
|
+
Operating income from sales (before tax) 694,000,000.0
|
|
232
|
+
Reported taxes -191,000,000.0
|
|
233
|
+
Taxes on net financing income 6,300,000.0
|
|
234
|
+
Taxes on other operating income 0.0
|
|
235
|
+
Total 509,300,000.0
|
|
236
|
+
|
|
198
237
|
Operating income, after tax (OI)
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
238
|
+
Operating income after sales, after tax (OISAT) 509,300,000.0
|
|
239
|
+
Other operating income, before tax (OIBT) 0.0
|
|
240
|
+
Tax on other operating income -0.0
|
|
241
|
+
Other operating income, after tax (OOIAT) 0.0
|
|
242
|
+
Total 509,300,000.0
|
|
243
|
+
|
|
205
244
|
Net financing income, after tax (NFI)
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
Comprehensive (CI)
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
[d] Effect Of Exchange Rate On Cash And Cash Equivalents -194,000.0
|
|
275
|
-
[d] Investment in Cash and Equivalents -150,265,000.0
|
|
276
|
-
Total -20,966,000.0
|
|
277
|
-
|
|
278
|
-
Payments to stockholders
|
|
279
|
-
[f] Payments For Repurchase Of Common Stock -125,000,000.0
|
|
280
|
-
[f] Proceeds From Sale Of Treasury Stock 40,651,000.0
|
|
281
|
-
Total -84,349,000.0
|
|
282
|
-
|
|
283
|
-
Free Cash Flow
|
|
284
|
-
Cash from Operations (C) 332,102,000.0
|
|
285
|
-
Cash Investment in Operations (I) -226,787,000.0
|
|
286
|
-
Total 105,315,000.0
|
|
287
|
-
|
|
288
|
-
Financing Flows
|
|
289
|
-
Payments to debtholders (d) -20,966,000.0
|
|
290
|
-
Payments to stockholders (F) -84,349,000.0
|
|
291
|
-
Total -105,315,000.0
|
|
292
|
-
|
|
245
|
+
Financing income, before tax (FIBT) 18,000,000.0
|
|
246
|
+
Tax effect (FIBT_TAX_EFFECT) -6,300,000.0
|
|
247
|
+
Financing income, after tax (FIAT) -137,000,000.0
|
|
248
|
+
Total -125,300,000.0
|
|
249
|
+
|
|
250
|
+
Comprehensive income (CI)
|
|
251
|
+
Operating income, after tax (OI) 509,300,000.0
|
|
252
|
+
Net financing income, after tax (NFI) -125,300,000.0
|
|
253
|
+
Total 384,000,000.0
|
|
254
|
+
|
|
255
|
+
WARNING: cash flow statement period is nil!
|
|
256
|
+
WARNING: reformulated cash flow statement period is nil!
|
|
257
|
+
Disclosures
|
|
258
|
+
Disclosure Identifiable Intangible Asset Balances (http://www.nikeinc.com/taxonomy/role/DisclosureIdentifiableIntangibleAssetBalances)
|
|
259
|
+
Finite Lived Intangible Assets Gross 169,000,000.0
|
|
260
|
+
Finite Lived Intangible Assets Accumulated Amortization 78,000,000.0
|
|
261
|
+
Indefinite Lived Trademarks 283,000,000.0
|
|
262
|
+
Total 530,000,000.0
|
|
263
|
+
|
|
264
|
+
Disclosure Accrued Liabilities (http://www.nikeinc.com/taxonomy/role/DisclosureAccruedLiabilities)
|
|
265
|
+
Accrued Compensation And Benefits Excluding Taxes Current 502,000,000.0
|
|
266
|
+
Accrued Taxes Other Than Income Taxes Current 238,000,000.0
|
|
267
|
+
Accrued Endorsement Liabilities Current 212,000,000.0
|
|
268
|
+
Dividends Payable Current 188,000,000.0
|
|
269
|
+
Accrued Marketing Costs Current 137,000,000.0
|
|
270
|
+
Accrued Import And Logistics Costs Current 124,000,000.0
|
|
271
|
+
Derivative Liabilities Current 83,000,000.0
|
|
272
|
+
Other Accrued Liabilities Current 395,000,000.0
|
|
273
|
+
Total 1,879,000,000.0
|
|
274
|
+
|
|
275
|
+
Disclosure Financial Assets And Liabilities Measured At Fair Value On Recurring Basis (http://www.nikeinc.com/taxonomy/role/DisclosureFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasis)
|
|
276
|
+
Derivative Fair Value Of Derivative Asset 129,000,000.0
|
|
277
|
+
Total 129,000,000.0
|
|
278
|
+
|
|
279
|
+
Disclosure Reconciliation From Basic Earnings Per Share To Diluted Earnings Per Share (http://www.nikeinc.com/taxonomy/role/DisclosureReconciliationFromBasicEarningsPerShareToDilutedEarningsPerShare)
|
|
280
|
+
Income Loss From Continuing Operations Per Basic Share 0.58
|
|
281
|
+
Income Loss From Discontinued Operations Net Of Tax Per -0.15
|
|
282
|
+
Basic Share
|
|
283
|
+
Income Loss From Continuing Operations Per Diluted Share 0.57
|
|
284
|
+
Income Loss From Discontinued Operations Net Of Tax Per -0.15
|
|
285
|
+
Diluted Share
|
|
286
|
+
Weighted Average Number Of Shares Outstanding Basic 897,000,000.0
|
|
287
|
+
Incremental Common Shares Attributable To Share Based 16,100,000.0
|
|
288
|
+
Payment Arrangements
|
|
289
|
+
Total 913,100,000.85
|
|
290
|
+
|
|
291
|
+
Disclosure Components Of Assets And Liabilities Classified As Held For Sale (http://www.nikeinc.com/taxonomy/role/DisclosureComponentsOfAssetsAndLiabilitiesClassifiedAsHeldForSale)
|
|
292
|
+
Disposal Group Including Discontinued Operation Accounts 129,000,000.0
|
|
293
|
+
Notes And Loans Receivable Net
|
|
294
|
+
Disposal Group Including Discontinued Operation Inventory 130,000,000.0
|
|
295
|
+
Disposal Group Including Discontinued Operation Deferred 32,000,000.0
|
|
296
|
+
Income Taxes And Other Assets
|
|
297
|
+
Disposal Group Including Discontinued Operation Property 53,000,000.0
|
|
298
|
+
Plant And Equipment Net
|
|
299
|
+
Disposal Group Including Discontinued Operation Intangible 0.0
|
|
300
|
+
Assets Net
|
|
301
|
+
Disposal Group Including Discontinued Operation Accounts 39,000,000.0
|
|
302
|
+
Payable
|
|
303
|
+
Disposal Group Including Discontinued Operation Accrued 127,000,000.0
|
|
304
|
+
Liabilities
|
|
305
|
+
Disposal Group Including Discontinued Operation Deferred 32,000,000.0
|
|
306
|
+
Income Taxes Payable And Other Liabilities
|
|
307
|
+
Total 542,000,000.0
|
|
308
|
+
|
|
309
|
+
Disclosure Information By Operating Segments (http://www.nikeinc.com/taxonomy/role/DisclosureInformationByOperatingSegments)
|
|
310
|
+
Earnings Before Interest And Taxes 711,000,000.0
|
|
311
|
+
Interest Income Expense Nonoperating Net 1,000,000.0
|
|
312
|
+
Total 712,000,000.0
|