Skip to content

spkansas/Google-Finance-OFX-Parser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

This is an attempt to build a parser for Google Finance exports in PHP - this was originally forked from a banking OFX repo (see above) but I've ported it over to the syntax for investment transaction parsing.

Google Finance exports in basic SGML which doesn't close XML tags. It is not valid XML, although it appears to be based on valid OFX tags. As a result, I've used a brute force methodology rather than anything pretty. Please educate me on a better way to do this!

Google Finance doesn't export dividend data.

At this stage I haven't handled short sales;

Use at own risk and please contribute!

Example Usage

See example.php for usage.

About

OFX library for PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%