bugGNU Octave - Bugs: bug #54045, [octave forge] (financial) fetch...

 
 

bug #54045: [octave forge] (financial) fetch function with google (v 0.5.1) returns error with Octave 4.2.1

Submitted by:  None
Submitted on:  Sun 03 Jun 2018 03:22:07 PM UTC  
 
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Confirmed Assigned to:  None
Originator Name:  Walter R Cottee Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  other
Operating System:  Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 03 Jun 2018 03:22:07 PM UTC, original submission:

Installed the latest financial package version (0.5.1) which fixed the old google 'fetch' problem. However, trying the new version returns an error as google thinks it is from an automated source and will not allow the exchange.

The code is simple:
------------------------------------------
pkg load financial

connection = google();
ticker = 'AAPL';
fromDate = "01-Jan-2018";
endDate = "30-May-2018";
frequency = "d";
[d f] = fetch(connection, ticker, fromDate, endDate, frequency);
d = flip(d);

dates = d(:,1);
openPrice = d(:,2);
high = d(:,3);
low = d(:,4);
closePrice = d(:,5);

highlow(high, low, openPrice);

-------------------------------the message from Octave is:
error: Could not write Google data to tmp file:
HTTP response code said error
URL was:
http://finance.google.com/finance/historical?q=AAPL&startdate=01-Jan-2016&enddate=30-Mar-2016&histperiod=daily&output=csv
error: called from
fetch_google at line 62 column 7
fetch at line 130 column 18
stockTest2 at line 8 column 6

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lostbard (Updated the item)
  • -email is unavailable- added by lostbard (Adding package maintainer)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-07-19 lostbard StatusNone => Confirmed
    2018-07-19 lostbard Carbon-Copy- => Added parsiad
    2018-06-04 mtmiller Carbon-CopyRemoved 80942 => -
    2018-06-04 mtmiller Summaryfetch function with google (v 0.5.1) returns error with Octave 4.2.1 => [octave forge] (financial) fetch function with google (v 0.5.1) returns error with Octave 4.2.1

    Back to the top


    Powered by Savane 3.3