|
5 | 5 | % |
6 | 6 | % Inputs: |
7 | 7 | % |
8 | | -% action (String) - one of: license,limits,version,update,revert,doc,prices,fundamentals,technicals,options,dividends,splits,earnings,shorts,ipo,lookup |
| 8 | +% action (String) - one of: 'license','limits','version','update','revert', |
| 9 | +% 'doc','prices','fundamentals','technicals', |
| 10 | +% 'options','dividends','splits','earnings','ipo', |
| 11 | +% 'shorts','lookup','news','sentiments','index', |
| 12 | +% 'economy','macro','esg','exchange','screener' |
9 | 13 | % |
10 | 14 | % parameters - Matlab struct or XLS filename or parameter name/value pairs with the following optional parameters: |
11 | 15 | % |
|
18 | 22 | % Order (String) default='asc'; either 'asc' or 'desc' |
19 | 23 | % |
20 | 24 | % Prices: |
21 | | -% DataType (String) default='day'; one of 'day','week','month','live','intraday','bulk' (bulk in Pro license only) |
| 25 | +% DataType (String) default='day'; one of 'day','week','month','live','intraday','ticks','bulk' (bulk in Pro license only) |
22 | 26 | % Symbols (String :-delimited or cell-array) default=''; e.g., 'IBM' or 'IBM:GOOG' or {'IBM','GOOG'} |
23 | 27 | % SecType (String) default='equity'; one of 'equity','index','bond' |
24 | 28 | % FromDate (Integer or String) default=[]; earliest data date |
25 | 29 | % ToDate (Integer or String) default=[]; latest data date |
26 | 30 | % Interval (String) default='5m'; one of '5m','1m','1hr'; only relevant when DataType='intraday' |
27 | 31 | % Exchange (String) default='US'; only relevant when DataType=bulk (Pro license only) |
28 | | -% Filter (String) default=''; coma-delimited fields e.g. 'close,change,volume' |
| 32 | +% Filter (String) default=''; comma-delimited fields e.g. 'close,change,volume' |
| 33 | +% Limit (Integer) default=100; max number of prices to return in results (ticks only) |
29 | 34 | % |
30 | 35 | % Fundamentals: |
31 | 36 | % DataType (String) default='standard'; one of 'standard','insiderTrading','marketCap','bulk' (bulk in Pro license) |
|
34 | 39 | % FromDate (Integer or String) default=[]; earliest data date |
35 | 40 | % ToDate (Integer or String) default=[]; latest data date |
36 | 41 | % Exchange (String) default='US'; only relevant when DataType=bulk (Pro license only) |
37 | | -% Filter (String) default=''; coma-delimited groups/fields e.g. 'General,Financials::Balance_Sheet::yearly' |
| 42 | +% Filter (String) default=''; comma-delimited groups/fields e.g. 'General,Financials::Balance_Sheet::yearly' |
| 43 | +% Limit (Integer) default=100; max number of data points to return in results |
38 | 44 | % |
39 | 45 | % Splits, Dividends: |
40 | 46 | % DataType (String) default='standard'; either 'standard' or 'bulk' (bulk in Pro license only) |
|
55 | 61 | % ToDate (Integer or String) default=[]; latest data date |
56 | 62 | % Function (String) default='SMA'; one of 'SMA','EMA','WMA','RSI','StdDev','AvgVol','AvgVolCcy', |
57 | 63 | % 'Volatility','SplitAdjusted','AvgVolCcy','Stochastic','StochRSI','Slope', |
58 | | -% 'DMI','ADX','MACD','ATR','CCI','SAR','BBands' |
| 64 | +% 'DMI','ADX','MACD','ATR','CCI','SAR','Beta','BBands' |
| 65 | +% See https://eodhd.com/financial-apis/technical-indicators-api?ref=OX6LJ2BE |
59 | 66 | % Period (Number) default=50; number of data points used to calculate the function (2-100k) |
60 | 67 | % FastPeriod (Number) default=12; used by MACD |
61 | 68 | % SlowPeriod (Number) default=26; used by MACD |
|
66 | 73 | % SlowDPeriod (Number) default=3; used by Stochastic |
67 | 74 | % AGGPeriod (String) default='day'; one of 'day','week','month'; used by SplitAdjusted function |
68 | 75 | % AdjustDividends (Logical) default=1 or true; if false or 0, close prices are only adjusted for splits, not dividends |
| 76 | +% Acceleration (Number) default=0.02; used by SAR |
| 77 | +% Maximum (Number) default=0.20; used by SAR |
| 78 | +% Code2 (String) default='GSPC.INDX'; used by Beta |
69 | 79 | % |
70 | 80 | % Options: |
71 | 81 | % Symbols (String :-delimited or cell-array) default=''; e.g., 'IBM' or 'IBM:GOOG' or {'IBM','GOOG'} |
|
80 | 90 | % ToDate (Integer or String) default=[]; latest data date |
81 | 91 | % |
82 | 92 | % Lookup: |
83 | | -% Symbol (String) default=''; e.g., 'IBM' |
84 | | -% DataType (String) default='symbol'; either 'symbol' or 'exchange' |
| 93 | +% Symbol (String) default=''; e.g., 'IBM' |
| 94 | +% DataType (String) default='symbol'; either 'symbol' or 'exchange' |
| 95 | +% Exchange (String) default=''; e.g. 'US' or 'NASDAQ' or 'NYSE' |
| 96 | +% SecType (String) default='all'; one of 'all','stock','etf','fund','bond','index','crypto' (symbol lookup only) |
| 97 | +% BondsOnly (Logical) default=0 or false; if true or 1, bonds symbols are returned (symbol lookup only) |
| 98 | +% Limit (Integer) default=15; max number of elements to return in results |
| 99 | +% |
| 100 | +% News: |
| 101 | +% Symbols (String :-delimited or cell-array) default=''; e.g., 'IBM' or 'IBM:GOOG' or {'IBM','GOOG'} |
| 102 | +% FromDate (Integer or String) default=[]; earliest data date |
| 103 | +% ToDate (Integer or String) default=[]; latest data date |
| 104 | +% Topic (String) default=''; e.g., 'balance sheet'; https://eodhd.com/financial-apis/stock-market-financial-news-api?ref=OX6LJ2BE |
| 105 | +% Limit (Integer) default=50; max number of news items to return in results |
| 106 | +% |
| 107 | +% Sentiments: |
| 108 | +% Symbols (String :-delimited or cell-array) default=''; e.g., 'IBM' or 'IBM:GOOG' or {'IBM','GOOG'} |
| 109 | +% FromDate (Integer or String) default=[]; earliest data date |
| 110 | +% ToDate (Integer or String) default=[]; latest data date |
| 111 | +% |
| 112 | +% Macro indicators: |
| 113 | +% Country (String) default='USA'; 3-letter ISO code (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) |
| 114 | +% Indicator (String) default='gdp_current_usd'; https://eodhd.com/financial-apis/macroeconomics-data-and-macro-indicators-api?ref=OX6LJ2BE |
| 115 | +% |
| 116 | +% Sentiments: |
| 117 | +% Symbols (String :-delimited or cell-array) default=''; e.g., 'GSPC.INDX'. If empty, returns list of indexes |
| 118 | +% (https://eodhd.com/marketplace/unicornbay/spglobal/docs?ref=OX6LJ2BE); Alternative: Fundamental query of index symbol |
| 119 | +% |
| 120 | +% Exchange: |
| 121 | +% Code (String) default='US'; 2-letter country/exchange code as returned by DataType='list' query |
| 122 | +% DataType (String) default='details'; one of 'details','list','symbols-list','symbol-changes' |
| 123 | +% FromDate (Integer or String) default=[]; earliest data date; only relevant for DataType='symbol-changes' |
| 124 | +% ToDate (Integer or String) default=[]; latest data date; only relevant for DataType='symbol-changes' |
| 125 | +% |
| 126 | +% Screener: |
| 127 | +% Filters (String comma-delimited or cell-array) default=''; e.g., 'earnings_share>0' or {'earnings_share>0','name=B*'} |
| 128 | +% Signals (String comma-delimited or cell-array) default=''; e.g., '200d_new_lo' or {'200d_new_lo','bookvalue_neg'} |
| 129 | +% SortField (String) default=''; e.g. 'market_capitalization' https://eodhd.com/financial-apis/stock-market-screener-api?ref=OX6LJ2BE |
| 130 | +% SortOrder (String) default='asc'; one of 'asc' (ascending) or 'desc' (descending) |
| 131 | +% Limit (Integer) default=100; max number of items to return in results |
| 132 | +% |
| 133 | +% ESG: |
| 134 | +% DataType (String) default='companies'; one of 'companies','countries','sectors','company','country','sector' |
| 135 | +% Country (String) default=''; e.g. 'US'; 2-letter country code as returned by DataType='countries' query |
| 136 | +% Company (String) default=''; e.g. 'AAPL'; company symbol as returned by DataType='companies' query |
| 137 | +% Sector (String) default=''; e.g. 'Airlines'; sector name as returned by DataType='sectors' query |
| 138 | +% Year (Integer) default=(current year); e.g. 2025; relevant only for country/company query, not sector |
| 139 | +% Frequency (String) default=''; one of 'FY','Q1','Q2','Q3','Q4'; only for country/company query, not sector |
| 140 | +% see https://eodhd.com/marketplace/investverte/esg_data/docs?ref=OX6LJ2BE |
85 | 141 | % |
86 | 142 | % THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED |
87 | 143 | % TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE |
|
0 commit comments