On 05/16/2018 06:21 PM, Mike McClain wrote:
On Wed, May 16, 2018 at 02:33:23PM +0200, Friedrich Rentsch wrote:
I didn't know the site you mention. I've been getting quotes from
Yahoo daily. The service they discontinued was for up to 50 symbols
per page. I now parse a separate page of some 50
On Wed, May 16, 2018 at 02:33:23PM +0200, Friedrich Rentsch wrote:
>
> I didn't know the site you mention. I've been getting quotes from
> Yahoo daily. The service they discontinued was for up to 50 symbols
> per page. I now parse a separate page of some 500K of html for each
> symbol! This site i
For Friedrich's, Peter's and the many other responses, many thanks.
I will get a handle on python eventually and the many teachers on this
list are making that easier.
Mike
--
"There are three kinds of men. The ones who learn by reading. The
few who learn by observation. The rest of them have to p
thank you for that tip. I missed that somehow...
На 16 май 2018 г. 16:31:37 GMT+02:00, Peter Otten <__pete...@web.de> написа:
>Friedrich Rentsch wrote:
>
>> >>> ibm = urllib2.urlopen
>> ("https://api.iextrading.com/1.0/stock/IBM/quote";).read()
>> >>> ibm = eval (ibm)
>
>Dont do this. You are al
>It serves a naked set of data, which happens to conform to the python
source code specification for dictionaries and consequently can be compiled
into a dictionary with 'eval', like so:
I would highly discourage any long-term usage (or any usage) of eval() in
this sort of context. If iextrading
Friedrich Rentsch wrote:
> >>> ibm = urllib2.urlopen
> ("https://api.iextrading.com/1.0/stock/IBM/quote";).read()
> >>> ibm = eval (ibm)
Dont do this. You are allowing the guys at iextrading.com to execute
arbitrary code on your machine. Use
ibm = json.loads(ibm)
instead or
import
On Wed, May 16, 2018 at 8:33 AM, Friedrich Rentsch
wrote:
>
>
> On 05/16/2018 02:23 AM, Mike McClain wrote:
>>
>> Initially I got my quotes from a broker daily to plug into a
>> spreadsheet, Then I found Yahoo and wrote a perl script to grab them.
>> When Yahoo quit supplying quotes I found A
On 05/16/2018 02:23 AM, Mike McClain wrote:
Initially I got my quotes from a broker daily to plug into a
spreadsheet, Then I found Yahoo and wrote a perl script to grab them.
When Yahoo quit supplying quotes I found AlphaVantage.co and rewrote
the perl script.
AlphaVantage.co has been
Initially I got my quotes from a broker daily to plug into a
spreadsheet, Then I found Yahoo and wrote a perl script to grab them.
When Yahoo quit supplying quotes I found AlphaVantage.co and rewrote
the perl script.
AlphaVantage.co has been down since last week and I found
iextrading.com h
On 9/13/06, Donlingerfelt <[EMAIL PROTECTED]> wrote:
> I would like to download stock quotes from the web, store them, do
> calculations and sort the results. However I am fairly new and don't have a
> clue how to parse the results of a web page download. I can get to th
Donlingerfelt wrote:
> I would like to download stock quotes from the web, store them, do
> calculations and sort the results. However I am fairly new and don't have a
> clue how to parse the results of a web page download. I can get to the
> site, but do not know how to re
Larry Bates wrote:
> If the HTML on the page(s) you want to process is clean and well formed it
> can be pretty easy. Download elementree from:
>
> http://effbot.org/zone/element-index.htm
and if it turns out to be messy, but you still want to use the same API,
see:
http://effbot.org/zon
Donlingerfelt wrote:
> I would like to download stock quotes from the web, store them, do
> calculations and sort the results. However I am fairly new and don't have a
> clue how to parse the results of a web page download. I can get to the
> site, but do not know how to re
don> I would like to download stock quotes from the web, store them, do
don> calculations and sort the results. However I am fairly new and
don> don't have a clue how to parse the results of a web page download.
don> I can get to the site, but do not know h
Donlingerfelt wrote:
> I would like to download stock quotes from the web, store them, do
> calculations and sort the results. However I am fairly new and don't have a
> clue how to parse the results of a web page download. I can get to the
> site, but do not know how to re
Donlingerfelt wrote:
> I would like to download stock quotes from the web, store them, do
> calculations and sort the results. However I am fairly new and don't have a
> clue how to parse the results of a web page download. I can get to the
> site, but do not know how to re
I would like to download stock quotes from the web, store them, do
calculations and sort the results. However I am fairly new and don't have a
clue how to parse the results of a web page download. I can get to the
site, but do not know how to request the certain data need. Does anyone
17 matches
Mail list logo