Skip to content

Instantly share code, notes, and snippets.

@zbelzer
Created February 25, 2011 23:25
Show Gist options
  • Save zbelzer/844706 to your computer and use it in GitHub Desktop.
Save zbelzer/844706 to your computer and use it in GitHub Desktop.
Found 67 institutions
Created user
Found user zach
User has 4 accounts
User belongs to 1 institutions
Selecting Local Test XML
Created the accounts 6136-6557
Creating statement for account 6136-6557
Creating statement for account 6136-6557 using start_date 2010-01-01 and end_date 2011-01-01
Creating statement for account 6136-6557 including OFX data
Positions on 6136-6557
{"name"=>"APPLE INC COM",
"quantity"=>"7.0",
"occurred_at"=>"2011-02-25T23:23:36Z",
"unit_price"=>"348.16",
"cash_flow"=>"2437.12",
"position_type"=>"LONG",
"cusip"=>"037833100",
"ticker"=>"AAPL"}
{"name"=>"ISHARES S&P 500 INDEX FUND",
"quantity"=>"5.0",
"occurred_at"=>"2011-02-25T23:23:36Z",
"unit_price"=>"132.78",
"cash_flow"=>"663.9",
"position_type"=>"LONG",
"cusip"=>"464287200",
"ticker"=>"IVV"}
{"name"=>"ISHARES RUSSELL 3000 INDEX FUND",
"quantity"=>"5.0",
"occurred_at"=>"2011-02-25T23:23:36Z",
"unit_price"=>"78.88",
"cash_flow"=>"394.4",
"position_type"=>"LONG",
"cusip"=>"464287689",
"ticker"=>"IWV"}
{"name"=>"JPMORGAN CHASE & CO COM",
"quantity"=>"15.0",
"occurred_at"=>"2011-02-25T23:23:36Z",
"unit_price"=>"46.68",
"cash_flow"=>"700.2",
"position_type"=>"LONG",
"cusip"=>"46625H100",
"ticker"=>"JPM"}
{"name"=>"JPMORGAN CHASE & CO COM",
"quantity"=>"-1.0",
"occurred_at"=>"2011-02-25T23:23:36Z",
"unit_price"=>"46.68",
"cash_flow"=>"-46.68",
"position_type"=>"SHORT",
"cusip"=>"46625H100",
"ticker"=>"JPM"}
{"name"=>"MOTORS LIQ CO COM",
"quantity"=>"25.0",
"occurred_at"=>"2011-02-25T23:23:36Z",
"unit_price"=>"0.0722",
"cash_flow"=>"1.81",
"position_type"=>"LONG",
"cusip"=>"62010A105",
"ticker"=>"MTLQQ"}
{"name"=>"WELLS FARGO & CO NEW COM",
"quantity"=>"22.0",
"occurred_at"=>"2011-02-25T23:23:36Z",
"unit_price"=>"32.4",
"cash_flow"=>"712.8",
"position_type"=>"LONG",
"cusip"=>"949746101",
"ticker"=>"WFC"}
Account has 9 statements
Destroying user zach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment