Senin, 04 Februari 2019

[smf_addin] Digest Number 4480

6 Messages

Digest #4480
1a
Re: Retrieve business breakdown table by "Randy Harmelink" rharmelink
2a
Re: smfgetoptionstrikes returning blanks by "Peter Cook" pete_cook2001
2b
Re: smfgetoptionstrikes returning blanks by "Randy Harmelink" rharmelink
3b
Re: smf functions being replaced by #N/A by "Randy Harmelink" rharmelink

Messages

Sun Feb 3, 2019 6:45 am (PST) . Posted by:

"Randy Harmelink" rharmelink

You can just use the INDEX() function to pull back the row and column of
the table. For example:

=INDEX(RCHGetHTMLTable("https://www.marketscreener.com/APPLE-4849/company/","Sales
per Businesses",-2,,2,,10,10),4,1)
=INDEX(RCHGetHTMLTable("https://www.marketscreener.com/APPLE-4849/company/","Sales
per Businesses",-2,,2,,10,10),4,2)

On Sat, Feb 2, 2019 at 10:35 PM lawrence.leesh@... wrote:

>
> Yes, I would like to know the formula for (for the first table)...
> iPhone
> 2017
> USD (in million)
> 141,319, etc.
>
> And for the second table...
> United States
> 2017
> USD in million, etc.
>
> I don't need the data in the % columns or delta columns.
>
>

Sun Feb 3, 2019 1:33 pm (PST) . Posted by:

"Peter Cook" pete_cook2001

If I open it in IE it still asks me if I want to open AAPL.json.

When I browse to http://www.pinlady.net/PluginDetect/IE/ I get

[image: image.png]

On Sat, Feb 2, 2019 at 9:26 PM Randy Harmelink rharmelink@gmail.com
[smf_addin] <smf_addin@yahoogroups.com> wrote:

>
>
> Unfortunately, as long as that is what IE is returning, there's nothing
> the add-in can do...those are the only dates it can see. :(
>
> Do you get different results if you use that URL in the actual IE browser?
> What version of IE does this say you are using, when the URL used in IE:
>
> http://www.pinlady.net/PluginDetect/IE/
>
> On Sat, Feb 2, 2019 at 7:12 PM Peter Cook peterscottcook@... wrote:
>
>>
>> I see. I opened it with notepad and I see what look like three expiration
>> dates:
>>
>> {"optionChain&quot;:{"result":[{"underlyingSymbol":"AAPL","expirationDates":[1561075200,1563494400,1579219200],"strikes&quot;:[],"hasMiniOptions&quot;:false,"quote";:{"language":"en-US","region&quot;:"US","quoteType&quot;:"EQUITY","quoteSourceName":"Delayed
>> Quote","currency&quot;:"USD","epsTrailingTwelveMonths&quot;:12.121,"epsForward":13.33,"esgPopulated&quot;:false,"tradeable&quot;:true,"marketState":"CLOSED","sharesOutstanding":4729800192,"bookValue&quot;:24.925,"fiftyDayAverage&quot;:155.8203,"fiftyDayAverageChange":10.699707,"fiftyDayAverageChangePercent":0.068666965,"twoHundredDayAverage":194.54417,"twoHundredDayAverageChange":-28.02417,"twoHundredDayAverageChangePercent":-0.14405042,"marketCap&quot;:787606339584,"forwardPE":12.492124,"priceToBook":6.680843,"sourceInterval&quot;:15,"exchangeTimezoneName":"America/New_York","exchangeTimezoneShortName":"EST","gmtOffSetMilliseconds&quot;:-18000000,"shortName&quot;:"Apple
>> Inc.","exchange":"NMS","averageDailyVolume10Day&quot;:35547925,"regularMarketPrice":166.52,"regularMarketTime":1549054801,"regularMarketChange":0.08000183,"regularMarketOpen":166.96,"regularMarketDayHigh":168.98,"regularMarketDayLow":165.93,"regularMarketVolume":32668138,"postMarketChangePercent&quot;:0.01801512,"postMarketTime":1549069187,"postMarketPrice":166.55,"postMarketChange":0.02999878,"regularMarketChangePercent":0.04806647,"regularMarketDayRange";:"165.93
>> -
>> 168.98","regularMarketPreviousClose":166.44,"bid":166.52,"ask":166.55,"bidSize":13,"askSize":10,"messageBoardId&quot;:"finmb_24937";,"fullExchangeName":"NasdaqGS&quot;,"longName":"Apple
>> Inc.","financialCurrency":"USD","averageDailyVolume3Month&quot;:42946132,"market&quot;:"us_market","priceHint":2,"exchangeDataDelayedBy";:0,"fiftyTwoWeekLowChange":24.520004,"fiftyTwoWeekLowChangePercent":0.17267609,"fiftyTwoWeekRange":"142.0
>> -
>> 233.47","fiftyTwoWeekHighChange&quot;:-66.95,"fiftyTwoWeekHighChangePercent":-0.2867606,"fiftyTwoWeekLow":142.0,"fiftyTwoWeekHigh":233.47,"dividendDate&quot;:1542240000,"earningsTimestamp":1548795600,"earningsTimestampStart&quot;:1556535540,"earningsTimestampEnd":1556884800,"trailingAnnualDividendRate":2.82,"trailingPE":13.73814,"trailingAnnualDividendYield":0.016943041,"symbol&quot;:"AAPL"},"options&quot;:[{"expirationDate&quot;:1550188800,"hasMiniOptions":false,"calls":[],"puts":[]}]}],"error":null}}
>>
>>
>>
>
>

Sun Feb 3, 2019 11:35 pm (PST) . Posted by:

"Randy Harmelink" rharmelink

Yes, and what expiration dates did that JSON file contain?

On Sun, Feb 3, 2019 at 2:33 PM Peter Cook peterscottcook@... wrote:

>
> If I open it in IE it still asks me if I want to open AAPL.json.
>
> When I browse to http://www.pinlady.net/PluginDetect/IE/ I get
>
> [image: image.png]
>
>
>

Sun Feb 3, 2019 7:51 pm (PST) . Posted by:

kitiany

I am not sure whether it is Windows 10 that is doing this or Excel 365, but my smf formulas are converted to #N/A. Sometimes the old values appear but if you select the cell says #N/A.
I am still using Excel in 2003 simulation mode meaning it is *.xls file. Why? Because I also use quite a few macros. Been thinking of saving the file as *.xlsm if it would solve this. I'll give this a try and report back.


Sun Feb 3, 2019 11:33 pm (PST) . Posted by:

"Randy Harmelink" rharmelink

I use xls and xla files to be backward compatible.

You only need an xlsm file if the workbook itself has macros. The add-in is
an external file, so it won't matter.

#N/A is typically an EXCEL error, so I would need to see the specific
formulas involved. And you should try them in a newly created workbook
(note that a new file wouldn't be assigned a file type, xls or xlsm)..

On Sun, Feb 3, 2019 at 8:51 PM Kitiany@... wrote:

> I am not sure whether it is Windows 10 that is doing this or Excel 365,
> but my smf formulas are converted to #N/A. Sometimes the old values appear
> but if you select the cell says #N/A.
>
> I am still using Excel in 2003 simulation mode meaning it is *.xls file.
> Why? Because I also use quite a few macros. Been thinking of saving the
> file as *.xlsm if it would solve this. I'll give this a try and report back.
>
>
>
For the Add-in, Documentation, Templates, Tips and FAQs, visit http://ogres-crypt.com/SMF

Tidak ada komentar:

Posting Komentar