Menu

Not getting any data back from any symbols

Bulrush
2017-11-02
2018-04-03
1 2 > >> (Page 1 of 2)
  • Bulrush

    Bulrush - 2017-11-02
    • Perl 5.18 on Ubuntu 14.04.
    • Finance::Quote v1.37

    I implemented a quote program via Perl and I'm not getting any data back for these symbols since Aug 22, 2017. The error messages are:

    Using /home/chuck/perl/chuck/quote/quoteprod.db
    getquote ERROR: No data found for GOOGL ()
    getquote ERROR: No data found for AAPL ()
    getquote ERROR: No data found for IBM ()
    getquote ERROR: No data found for DLPH ()
    getquote ERROR: No data found for FPHAX ()
    getquote ERROR: No data found for PFE ()
    getquote ERROR: No data found for SPHIX ()
    getquote ERROR: No data found for WWWFX ()
    getquote ERROR: No data found for FSAGX ()
    getquote ERROR: No data found for FDSVX ()
    End: Thu Nov 2 06:27:19 EDT 2017

    Any ideas what's going on? Looks like this module hasn't been updated since 2015.

    When I do this: %info=$quote->fetch($exch,$sym); I get back info, but the when I get the price with this: $price=$info{$sym,'price'} the price is zero. When I dump the %info hash I get this:

    $VAR1 = {
              'Via: http/1.1 media-router-api25.prod.media.ne1.yahoo.com (ApacheTrafficServer [c s f ])date' => '11/02/2017',
              'Cache-Control: max-age=0name' => ' private',
              'currency_set_by_fq' => 1,
              'Server: ATScurrency' => 'USD',
              'Cache-Control: max-age=0p_change' => undef,
              'Age: 0symbol' => 'Age: 0',
              'Public-Key-Pins-Report-Only: max-age=2592000; pin-sha256="2oALgLKofTmeZvoZ1y/fSZg7R9jPMix8eVA6DH4o/q8="; pin-sha256="cAajgxHlj7GTSEIzIYIQxmEloOSoJq7VOaxWHfv72QM="; pin-sha256="SVqWumuteCQHvVIaALrOZXuzVVVeS7f4FGxxu6V+es4="; pin-sha256="UZJDjsNp1+4M5x9cbbdflB779y5YRBcV6Z6rBMLIrO4="; pin-sha256="JbQbUG5JMJUoI6brnx0x3vZF6jilxsapbXGVfjhN8Fg="; pin-sha256="lnsM2T/O9/J84sJFdnrpsFp3awZJ+ZZbYpCWhGloaHI="; pin-sha256="h6801m+z8v3zbgkRHpq6L29Esgfzhj89C1SyUCOQmqU="; pin-sha256="SQVGZiOrQXi+kqxcvWWE96HhfydlLVqFr4lQTqI5qqo="; pin-sha256="q5hJUnat8eyv8o81xTBIeB5cFxjaucjmelBPT2pRMo8="; pin-sha256="vPtEqrmtAhAVcGtBIep2HIHJ6IlnWQ9vlK50TciLePs="; pin-sha256="lpkiXF3lLlbN0y3y6W0c/qWqPKC7Us2JM8I7XCdEOCA="; pin-sha256="r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E="; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="2fRAUXyxl4A1/XHrKNBmc8bTkzA7y4FB/GLJuNAzCqY="; pin-sha256="dolnbtzEBnELx/9lOEQ22e6OZO/QNb6VSSX2XHA3E7A="; report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-hpkp-report-only"success' => 1,
              'Server: ATSsymbol' => 'Server: ATS',
              'Age: 0price' => undef,
              'Connection: closeprice' => undef,
              'Server: ATSp_change' => undef,
              'Content-Type: text/htmlisodate' => '2017-11-02',
              'Public-Key-Pins-Report-Only: max-age=2592000; pin-sha256="2oALgLKofTmeZvoZ1y/fSZg7R9jPMix8eVA6DH4o/q8="; pin-sha256="cAajgxHlj7GTSEIzIYIQxmEloOSoJq7VOaxWHfv72QM="; pin-sha256="SVqWumuteCQHvVIaALrOZXuzVVVeS7f4FGxxu6V+es4="; pin-sha256="UZJDjsNp1+4M5x9cbbdflB779y5YRBcV6Z6rBMLIrO4="; pin-sha256="JbQbUG5JMJUoI6brnx0x3vZF6jilxsapbXGVfjhN8Fg="; pin-sha256="lnsM2T/O9/J84sJFdnrpsFp3awZJ+ZZbYpCWhGloaHI="; pin-sha256="h6801m+z8v3zbgkRHpq6L29Esgfzhj89C1SyUCOQmqU="; pin-sha256="SQVGZiOrQXi+kqxcvWWE96HhfydlLVqFr4lQTqI5qqo="; pin-sha256="q5hJUnat8eyv8o81xTBIeB5cFxjaucjmelBPT2pRMo8="; pin-sha256="vPtEqrmtAhAVcGtBIep2HIHJ6IlnWQ9vlK50TciLePs="; pin-sha256="lpkiXF3lLlbN0y3y6W0c/qWqPKC7Us2JM8I7XCdEOCA="; pin-sha256="r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E="; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="2fRAUXyxl4A1/XHrKNBmc8bTkzA7y4FB/GLJuNAzCqY="; pin-sha256="dolnbtzEBnELx/9lOEQ22e6OZO/QNb6VSSX2XHA3E7A="; report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-hpkp-report-only"currency' => 'USD',
              'Content-Type: text/htmldate' => '11/02/2017',
              'Connection: closep_change' => undef,
              'Date: Thuisodate' => '2017-11-02',
              'Content-Type: text/htmlprice' => undef,
              'Expires: -1date' => '11/02/2017',
              'Content-Type: text/htmlp_change' => undef,
              'Server: ATSprice' => undef,
              'Via: http/1.1 media-router-api25.prod.media.ne1.yahoo.com (ApacheTrafficServer [c s f ])name' => ' http/1.1 e24.ycpi.cha.yahoo.com (ApacheTrafficServer [cMsSf ])',
              'Content-Length: 177symbol' => 'Content-Length: 177',
              'Connection: closesymbol' => 'Connection: close',
              'Cache-Control: max-age=0success' => 1,
              'Public-Key-Pins-Report-Only: max-age=2592000; pin-sha256="2oALgLKofTmeZvoZ1y/fSZg7R9jPMix8eVA6DH4o/q8="; pin-sha256="cAajgxHlj7GTSEIzIYIQxmEloOSoJq7VOaxWHfv72QM="; pin-sha256="SVqWumuteCQHvVIaALrOZXuzVVVeS7f4FGxxu6V+es4="; pin-sha256="UZJDjsNp1+4M5x9cbbdflB779y5YRBcV6Z6rBMLIrO4="; pin-sha256="JbQbUG5JMJUoI6brnx0x3vZF6jilxsapbXGVfjhN8Fg="; pin-sha256="lnsM2T/O9/J84sJFdnrpsFp3awZJ+ZZbYpCWhGloaHI="; pin-sha256="h6801m+z8v3zbgkRHpq6L29Esgfzhj89C1SyUCOQmqU="; pin-sha256="SQVGZiOrQXi+kqxcvWWE96HhfydlLVqFr4lQTqI5qqo="; pin-sha256="q5hJUnat8eyv8o81xTBIeB5cFxjaucjmelBPT2pRMo8="; pin-sha256="vPtEqrmtAhAVcGtBIep2HIHJ6IlnWQ9vlK50TciLePs="; pin-sha256="lpkiXF3lLlbN0y3y6W0c/qWqPKC7Us2JM8I7XCdEOCA="; pin-sha256="r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E="; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="2fRAUXyxl4A1/XHrKNBmc8bTkzA7y4FB/GLJuNAzCqY="; pin-sha256="dolnbtzEBnELx/9lOEQ22e6OZO/QNb6VSSX2XHA3E7A="; report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-hpkp-report-only"price' => undef,
              'Age: 0success' => 1,
              'Content-Length: 177isodate' => '2017-11-02',
              'Content-Type: text/htmlsuccess' => 1,
              '<html><head><title>Yahoo! - 999 Unable to process request at this time -- error 999</title></head><body>Sorrycurrency' => 'USD',
              'HTTP/1.1 999 Request deniedp_change' => undef,
              '<html><head><title>Yahoo! - 999 Unable to process request at this time -- error 999</title></head><body>Sorryp_change' => undef,
              'Content-Length: 177price' => undef,
              'Via: http/1.1 media-router-api25.prod.media.ne1.yahoo.com (ApacheTrafficServer [c s f ])price' => undef,
              'Cache-Control: max-age=0isodate' => '2017-11-02',
              'Content-Length: 177currency_set_by_fq' => 1,
              'Date: Thuname' => ' 02 Nov 2017 10:39:57 GMT',
              'HTTP/1.1 999 Request deniedcurrency' => 'USD',
              'Server: ATSisodate' => '2017-11-02',
              'Content-Type: text/htmlsymbol' => 'Content-Type: text/html',
              'Via: http/1.1 media-router-api25.prod.media.ne1.yahoo.com (ApacheTrafficServer [c s f ])currency_set_by_fq' => 1,
              'Age: 0date' => '11/02/2017',
              'Expires: -1p_change' => undef,
              'Connection: closecurrency' => 'USD',
              'Public-Key-Pins-Report-Only: max-age=2592000; pin-sha256="2oALgLKofTmeZvoZ1y/fSZg7R9jPMix8eVA6DH4o/q8="; pin-sha256="cAajgxHlj7GTSEIzIYIQxmEloOSoJq7VOaxWHfv72QM="; pin-sha256="SVqWumuteCQHvVIaALrOZXuzVVVeS7f4FGxxu6V+es4="; pin-sha256="UZJDjsNp1+4M5x9cbbdflB779y5YRBcV6Z6rBMLIrO4="; pin-sha256="JbQbUG5JMJUoI6brnx0x3vZF6jilxsapbXGVfjhN8Fg="; pin-sha256="lnsM2T/O9/J84sJFdnrpsFp3awZJ+ZZbYpCWhGloaHI="; pin-sha256="h6801m+z8v3zbgkRHpq6L29Esgfzhj89C1SyUCOQmqU="; pin-sha256="SQVGZiOrQXi+kqxcvWWE96HhfydlLVqFr4lQTqI5qqo="; pin-sha256="q5hJUnat8eyv8o81xTBIeB5cFxjaucjmelBPT2pRMo8="; pin-sha256="vPtEqrmtAhAVcGtBIep2HIHJ6IlnWQ9vlK50TciLePs="; pin-sha256="lpkiXF3lLlbN0y3y6W0c/qWqPKC7Us2JM8I7XCdEOCA="; pin-sha256="r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E="; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="2fRAUXyxl4A1/XHrKNBmc8bTkzA7y4FB/GLJuNAzCqY="; pin-sha256="dolnbtzEBnELx/9lOEQ22e6OZO/QNb6VSSX2XHA3E7A="; report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-hpkp-report-only"date' => '11/02/2017',
              'Expires: -1price' => undef,
              'Content-Length: 177success' => 1,
              'Server: ATScurrency_set_by_fq' => 1,
              'p_change' => undef,
              'Cache-Control: max-age=0currency_set_by_fq' => 1,
              'Cache-Control: max-age=0symbol' => 'Cache-Control: max-age=0',
              'Connection: closecurrency_set_by_fq' => 1,
              'Expires: -1success' => 1,
              '<html><head><title>Yahoo! - 999 Unable to process request at this time -- error 999</title></head><body>Sorryprice' => undef,
              'price' => undef,
              'Age: 0currency_set_by_fq' => 1,
              'Date: Thucurrency_set_by_fq' => 1,
              'Age: 0currency' => 'USD',
              'success' => 1,
              '<html><head><title>Yahoo! - 999 Unable to process request at this time -- error 999</title></head><body>Sorrysuccess' => 1,
              'Cache-Control: max-age=0currency' => 'USD',
              'Content-Length: 177date' => '11/02/2017',
              'Public-Key-Pins-Report-Only: max-age=2592000; pin-sha256="2oALgLKofTmeZvoZ1y/fSZg7R9jPMix8eVA6DH4o/q8="; pin-sha256="cAajgxHlj7GTSEIzIYIQxmEloOSoJq7VOaxWHfv72QM="; pin-sha256="SVqWumuteCQHvVIaALrOZXuzVVVeS7f4FGxxu6V+es4="; pin-sha256="UZJDjsNp1+4M5x9cbbdflB779y5YRBcV6Z6rBMLIrO4="; pin-sha256="JbQbUG5JMJUoI6brnx0x3vZF6jilxsapbXGVfjhN8Fg="; pin-sha256="lnsM2T/O9/J84sJFdnrpsFp3awZJ+ZZbYpCWhGloaHI="; pin-sha256="h6801m+z8v3zbgkRHpq6L29Esgfzhj89C1SyUCOQmqU="; pin-sha256="SQVGZiOrQXi+kqxcvWWE96HhfydlLVqFr4lQTqI5qqo="; pin-sha256="q5hJUnat8eyv8o81xTBIeB5cFxjaucjmelBPT2pRMo8="; pin-sha256="vPtEqrmtAhAVcGtBIep2HIHJ6IlnWQ9vlK50TciLePs="; pin-sha256="lpkiXF3lLlbN0y3y6W0c/qWqPKC7Us2JM8I7XCdEOCA="; pin-sha256="r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E="; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="2fRAUXyxl4A1/XHrKNBmc8bTkzA7y4FB/GLJuNAzCqY="; pin-sha256="dolnbtzEBnELx/9lOEQ22e6OZO/QNb6VSSX2XHA3E7A="; report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-hpkp-report-only"isodate' => '2017-11-02',
              'Public-Key-Pins-Report-Only: max-age=2592000; pin-sha256="2oALgLKofTmeZvoZ1y/fSZg7R9jPMix8eVA6DH4o/q8="; pin-sha256="cAajgxHlj7GTSEIzIYIQxmEloOSoJq7VOaxWHfv72QM="; pin-sha256="SVqWumuteCQHvVIaALrOZXuzVVVeS7f4FGxxu6V+es4="; pin-sha256="UZJDjsNp1+4M5x9cbbdflB779y5YRBcV6Z6rBMLIrO4="; pin-sha256="JbQbUG5JMJUoI6brnx0x3vZF6jilxsapbXGVfjhN8Fg="; pin-sha256="lnsM2T/O9/J84sJFdnrpsFp3awZJ+ZZbYpCWhGloaHI="; pin-sha256="h6801m+z8v3zbgkRHpq6L29Esgfzhj89C1SyUCOQmqU="; pin-sha256="SQVGZiOrQXi+kqxcvWWE96HhfydlLVqFr4lQTqI5qqo="; pin-sha256="q5hJUnat8eyv8o81xTBIeB5cFxjaucjmelBPT2pRMo8="; pin-sha256="vPtEqrmtAhAVcGtBIep2HIHJ6IlnWQ9vlK50TciLePs="; pin-sha256="lpkiXF3lLlbN0y3y6W0c/qWqPKC7Us2JM8I7XCdEOCA="; pin-sha256="r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E="; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="2fRAUXyxl4A1/XHrKNBmc8bTkzA7y4FB/GLJuNAzCqY="; pin-sha256="dolnbtzEBnELx/9lOEQ22e6OZO/QNb6VSSX2XHA3E7A="; report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-hpkp-report-only"currency_set_by_fq' => 1,
              'Cache-Control: max-age=0date' => '11/02/2017',
              'Date: Thudate' => '11/02/2017',
              'Connection: closeisodate' => '2017-11-02',
              'date' => '11/02/2017',
              'Via: http/1.1 media-router-api25.prod.media.ne1.yahoo.com (ApacheTrafficServer [c s f ])isodate' => '2017-11-02',
              'Content-Type: text/htmlcurrency_set_by_fq' => 1,
              'HTTP/1.1 999 Request deniedisodate' => '2017-11-02',
              'Date: Thup_change' => undef,
              'HTTP/1.1 999 Request deniedsymbol' => 'HTTP/1.1 999 Request denied',
              'Content-Type: text/htmlcurrency' => 'USD',
              'Date: Thuprice' => undef,
              'Content-Length: 177p_change' => undef,
              'Expires: -1symbol' => 'Expires: -1',
              'Expires: -1isodate' => '2017-11-02',
              'Date: Thusuccess' => 1,
              '<html><head><title>Yahoo! - 999 Unable to process request at this time -- error 999</title></head><body>Sorryisodate' => '2017-11-02',
              'Server: ATSsuccess' => 1,
              'HTTP/1.1 999 Request deniedcurrency_set_by_fq' => 1,
              'Via: http/1.1 media-router-api25.prod.media.ne1.yahoo.com (ApacheTrafficServer [c s f ])currency' => 'USD',
              'Via: http/1.1 media-router-api25.prod.media.ne1.yahoo.com (ApacheTrafficServer [c s f ])symbol' => 'Via: http/1.1 media-router-api25.prod.media.ne1.yahoo.com (ApacheTrafficServer [c s f ])',
              'Via: http/1.1 media-router-api25.prod.media.ne1.yahoo.com (ApacheTrafficServer [c s f ])p_change' => undef,
              'Public-Key-Pins-Report-Only: max-age=2592000; pin-sha256="2oALgLKofTmeZvoZ1y/fSZg7R9jPMix8eVA6DH4o/q8="; pin-sha256="cAajgxHlj7GTSEIzIYIQxmEloOSoJq7VOaxWHfv72QM="; pin-sha256="SVqWumuteCQHvVIaALrOZXuzVVVeS7f4FGxxu6V+es4="; pin-sha256="UZJDjsNp1+4M5x9cbbdflB779y5YRBcV6Z6rBMLIrO4="; pin-sha256="JbQbUG5JMJUoI6brnx0x3vZF6jilxsapbXGVfjhN8Fg="; pin-sha256="lnsM2T/O9/J84sJFdnrpsFp3awZJ+ZZbYpCWhGloaHI="; pin-sha256="h6801m+z8v3zbgkRHpq6L29Esgfzhj89C1SyUCOQmqU="; pin-sha256="SQVGZiOrQXi+kqxcvWWE96HhfydlLVqFr4lQTqI5qqo="; pin-sha256="q5hJUnat8eyv8o81xTBIeB5cFxjaucjmelBPT2pRMo8="; pin-sha256="vPtEqrmtAhAVcGtBIep2HIHJ6IlnWQ9vlK50TciLePs="; pin-sha256="lpkiXF3lLlbN0y3y6W0c/qWqPKC7Us2JM8I7XCdEOCA="; pin-sha256="r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E="; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="2fRAUXyxl4A1/XHrKNBmc8bTkzA7y4FB/GLJuNAzCqY="; pin-sha256="dolnbtzEBnELx/9lOEQ22e6OZO/QNb6VSSX2XHA3E7A="; report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-hpkp-report-only"symbol' => 'Public-Key-Pins-Report-Only: max-age=2592000; pin-sha256="2oALgLKofTmeZvoZ1y/fSZg7R9jPMix8eVA6DH4o/q8="; pin-sha256="cAajgxHlj7GTSEIzIYIQxmEloOSoJq7VOaxWHfv72QM="; pin-sha256="SVqWumuteCQHvVIaALrOZXuzVVVeS7f4FGxxu6V+es4="; pin-sha256="UZJDjsNp1+4M5x9cbbdflB779y5YRBcV6Z6rBMLIrO4="; pin-sha256="JbQbUG5JMJUoI6brnx0x3vZF6jilxsapbXGVfjhN8Fg="; pin-sha256="lnsM2T/O9/J84sJFdnrpsFp3awZJ+ZZbYpCWhGloaHI="; pin-sha256="h6801m+z8v3zbgkRHpq6L29Esgfzhj89C1SyUCOQmqU="; pin-sha256="SQVGZiOrQXi+kqxcvWWE96HhfydlLVqFr4lQTqI5qqo="; pin-sha256="q5hJUnat8eyv8o81xTBIeB5cFxjaucjmelBPT2pRMo8="; pin-sha256="vPtEqrmtAhAVcGtBIep2HIHJ6IlnWQ9vlK50TciLePs="; pin-sha256="lpkiXF3lLlbN0y3y6W0c/qWqPKC7Us2JM8I7XCdEOCA="; pin-sha256="r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E="; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="2fRAUXyxl4A1/XHrKNBmc8bTkzA7y4FB/GLJuNAzCqY="; pin-sha256="dolnbtzEBnELx/9lOEQ22e6OZO/QNb6VSSX2XHA3E7A="; report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-hpkp-report-only"',
              'Expires: -1currency' => 'USD',
              'Cache-Control: max-age=0price' => undef,
              '<html><head><title>Yahoo! - 999 Unable to process request at this time -- error 999</title></head><body>Sorrycurrency_set_by_fq' => 1,
              'HTTP/1.1 999 Request deniedsuccess' => 1,
              'Server: ATSdate' => '11/02/2017',
              'HTTP/1.1 999 Request deniedprice' => undef,
              'currency' => 'USD',
              'Connection: closesuccess' => 1,
              'Content-Length: 177currency' => 'USD',
              '<html><head><title>Yahoo! - 999 Unable to process request at this time -- error 999</title></head><body>Sorryname' => ' Unable to process request at this time -- error 999.',
              'Public-Key-Pins-Report-Only: max-age=2592000; pin-sha256="2oALgLKofTmeZvoZ1y/fSZg7R9jPMix8eVA6DH4o/q8="; pin-sha256="cAajgxHlj7GTSEIzIYIQxmEloOSoJq7VOaxWHfv72QM="; pin-sha256="SVqWumuteCQHvVIaALrOZXuzVVVeS7f4FGxxu6V+es4="; pin-sha256="UZJDjsNp1+4M5x9cbbdflB779y5YRBcV6Z6rBMLIrO4="; pin-sha256="JbQbUG5JMJUoI6brnx0x3vZF6jilxsapbXGVfjhN8Fg="; pin-sha256="lnsM2T/O9/J84sJFdnrpsFp3awZJ+ZZbYpCWhGloaHI="; pin-sha256="h6801m+z8v3zbgkRHpq6L29Esgfzhj89C1SyUCOQmqU="; pin-sha256="SQVGZiOrQXi+kqxcvWWE96HhfydlLVqFr4lQTqI5qqo="; pin-sha256="q5hJUnat8eyv8o81xTBIeB5cFxjaucjmelBPT2pRMo8="; pin-sha256="vPtEqrmtAhAVcGtBIep2HIHJ6IlnWQ9vlK50TciLePs="; pin-sha256="lpkiXF3lLlbN0y3y6W0c/qWqPKC7Us2JM8I7XCdEOCA="; pin-sha256="r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E="; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="2fRAUXyxl4A1/XHrKNBmc8bTkzA7y4FB/GLJuNAzCqY="; pin-sha256="dolnbtzEBnELx/9lOEQ22e6OZO/QNb6VSSX2XHA3E7A="; report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-hpkp-report-only"p_change' => undef,
              'Age: 0p_change' => undef,
              'Date: Thucurrency' => 'USD',
              'Connection: closedate' => '11/02/2017',
              'Age: 0isodate' => '2017-11-02',
              '<html><head><title>Yahoo! - 999 Unable to process request at this time -- error 999</title></head><body>Sorrydate' => '11/02/2017',
              '<html><head><title>Yahoo! - 999 Unable to process request at this time -- error 999</title></head><body>Sorrysymbol' => 'Yahoo! - 999 Unable to process request at this time -- error 999Sorry',
              'Via: http/1.1 media-router-api25.prod.media.ne1.yahoo.com (ApacheTrafficServer [c s f ])success' => 1,
              'isodate' => '2017-11-02',
              'Date: Thusymbol' => 'Date: Thu',
              'HTTP/1.1 999 Request denieddate' => '11/02/2017',
              'Expires: -1currency_set_by_fq' => 1
            };
    
     

    Last edit: Bulrush 2017-11-02
  • John Pane

    John Pane - 2017-11-02

    Same here, but just for the past day. Prior to that it was working fine. Looks like a change or temporary outage at Yahoo.

     

    Last edit: John Pane 2017-11-02
  • Giuseppe Santillo

    Finance::Quote fails to get any quotes on GnuCash, I think following Yahoo's discontinuation of the quotes service. Any suggestion on how to fix it?

     
  • Erik Colson

    Erik Colson - 2017-11-05

    A new module AlphaVantage.pm has been added today, which supports quite a bunch of stocks, but not funds nor currencies. Upgrade to version 1.40 and try it out.

     
  • Fred Metcalf

    Fred Metcalf - 2017-11-06

    I've installed the AlphaVantage module, but am having trouble getting it to work. These would seem to be the relevant Perl instructions:
    $q = Finance::Quote->new("AlphaVantage");
    %quotes = $q->fetch("alphavantage",@stocks);
    Is there an obvious problem with these? Thanks for attacking the problem left by the abrupt departure of Yahoo!

     
  • Erik Colson

    Erik Colson - 2017-11-06

    Please check out the test file t/alphavantage.t for correct querying of quotes. You will need to set ONLINE_TEST=1 to actually run tests

     
  • Fred Metcalf

    Fred Metcalf - 2017-11-06

    The code is running as desired. Thanks for the pointers. As a reference for others, here is the code that solved my problems:

    $q = Finance::Quote->new();
    %quotes = $q->alphavantage(@stocks);

    The following line from my old Yahoo code had to be removed or commented out:
    $q->require_labels(qw/date high low last/);

     
  • Perry Leopold

    Perry Leopold - 2017-11-07

    This works, but.... it's very slow to get a response from AlphaVantage, like 10 to 15 seconds. Any ideas on how to get a faster response?

    TIA.

     
    • Erik Colson

      Erik Colson - 2017-11-07

      The slowness is due to the API not allowing to query multiple symbols at once. Also we have reached the server request limit which makes requests fail.. I have contacted alpavantage about this issue.

       
  • Fred Metcalf

    Fred Metcalf - 2017-11-07

    When I first got my query code working, the response was almost immediate. After reading the above comment I tried it again and ... slow! I then timed a response at 21 seconds. Later things got even worse with a failure and the following error report:

    malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<!DOCTYPE html>\n\t<...") at /usr/share/perl5/site_perl/Finance/Quote/AlphaVantage.pm line 73.

     
  • Erik Colson

    Erik Colson - 2017-11-07

    yep... we reached the servers limit..

     
  • Perry Leopold

    Perry Leopold - 2017-11-07

    I also get that "malformed JSON" error on certain symbol requests. This morning I got a new one:
    errormsg' => 'json_data doesn\'t contain Last Refreshed'. This occured after doing a symbol request, which was successful, and then repeating the exact same request, which then yielded the errormsg.

    AlphaVantage seems great in theory, but pretty unreliable in practice.

    Is GOOGLE an alternative?

     
    • Paul Polak

      Paul Polak - 2017-11-07

      Re: GOOGLE

      I had the same thought. I threw something together last night that parses from HTML google finance (the JSON unfortunately had some malformed errors). I can submit to the repository if people would like?

      I'm also working on a module for finance.yahoo.com ever since Yahoo removed the previous funcationality.

       
      • Erik Colson

        Erik Colson - 2017-11-07

        Paul Polak linux_slacker@users.sf.net writes:

        Re: GOOGLE

        I had the same thought. I threw something together last night that parses from HTML google finance (the JSON unfortunately had some malformed errors). I can submit to the repository if people would like?

        I'm also working on a module for finance.yahoo.com ever since Yahoo removed the previous funcationality.

        I checked for Google some years ago and their terms of service
        explicitely denied scraping page contents... It might work some time,
        but probably Google will tend to discourage such usage.

        best

        erik colson

         
    • Erik Colson

      Erik Colson - 2017-11-07

      Perry Leopold perryleopold@users.sf.net writes:

      AlphaVantage seems great in theory, but pretty unreliable in practice.

      I contacted AlphaVantage by email. I hope we can figure something out
      with them..

      Is GOOGLE an alternative?

      AFAIK not. The Google finance API has been shut down in 2012.

      best

      erik colson

       
  • Perry Leopold

    Perry Leopold - 2017-11-07

    Erik, any suggestion for how to set the function and datatype parameters passed without having to edit the URL hard-coded in AlphaVantage.pm? It would be good to be able to toggle between TIME_SERIES_DAILY and TIME_SERIES_INTRADAY on the fly, get TIME_SERIES_MONTHLY, etc.. Getting data in CSV format on-demand would be useful as well. TIA!

     
    • Erik Colson

      Erik Colson - 2017-11-07

      Perry Leopold perryleopold@users.sf.net writes:

      Erik, any suggestion for how to set the function and datatype
      parameters passed without having to edit the URL hard-coded in
      AlphaVantage.pm? It would be good to be able to toggle between
      TIME_SERIES_DAILY and TIME_SERIES_INTRADAY on the fly, get
      TIME_SERIES_MONTHLY, etc.. Getting data in CSV format on-demand would
      be useful as well. TIA!

      This would be out of purpose for F::Q. But probably would be cool for a
      new cpan module "AlphaVantage::QuoteHist", or something in that mood.

      best

      erik colson

       
  • Perry Leopold

    Perry Leopold - 2017-11-07

    OK. FYI, editiing the URL doesn't seem to work for some reason. When I change TIME_SERIES_DAILY to TIME_SERIES_INTRADAY I get the following err msg:

    'Invalid API call. Please retry or visit the documentation (https://www.alphavantage.co/documentation/) for TIME_SERIES_INTRADAY

    This is odd, as it is passing a valid function according to the docs. The AV doc page offers no additional insight.

    I can get the current day's data after the market closes using the default TIME_SERIES_DAILY, but during the day while the market is open the data returned is for the previous day. No joy there.

     
    • Erik Colson

      Erik Colson - 2017-11-07

      Perry Leopold perryleopold@users.sf.net writes:

      OK. FYI, editiing the URL doesn't seem to work for some reason. When I change TIME_SERIES_DAILY to TIME_SERIES_INTRADAY I get the following err msg:

      'Invalid API call. Please retry or visit the documentation (https://www.alphavantage.co/documentation/) for TIME_SERIES_INTRADAY

      This is odd, as it is passing a valid function according to the docs. The AV doc page offers no additional insight.

      you need to add the 'interval' parameter in the call. Check it in the docs.

      I can get the current day's data after the market closes using the default TIME_SERIES_DAILY, but during the day while the market is open the data returned is for the previous day. No joy there.


      Not getting any data back from any symbols


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/finance-quote/discussion/12832/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

      --
      erik colson

       
    • Erik Colson

      Erik Colson - 2017-11-07

      Perry Leopold perryleopold@users.sf.net writes:

      I can get the current day's data after the market closes using the
      default TIME_SERIES_DAILY, but during the day while the market is open
      the data returned is for the previous day. No joy there.

      which version of F::Q are you using? I ckecked the code / api json
      returned and this shouldn't happen.

      best

      erik colson

       
      • Perry Leopold

        Perry Leopold - 2017-11-07

        v1.43.

         
        • Erik Colson

          Erik Colson - 2017-11-07

          Perry Leopold perryleopold@users.sf.net writes:

          v1.43.

          hmm... shouldn't happen. Can you give me the symbol you checked ?

          best

          erik colson

           
          • Perry Leopold

            Perry Leopold - 2017-11-07

            I was checking GLD. Won't be able to see if I can repeat this until tomorrow now that the market is closed and the call returns today's data correctly. Will see how it behaves after the market opens tomorrow.

             
            • Perry Leopold

              Perry Leopold - 2017-11-08

              Seems to be working fine today. Data output is correct so far. Will continue testing.

               
1 2 > >> (Page 1 of 2)

Log in to post a comment.