-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ofx support for treasury T-Bill (#187)
- Loading branch information
Showing
17 changed files
with
309 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<journal-dir>/journal.beancount | ||
+ | ||
+2018-07-03 price TYCDT 1.554232804232804232804232804 USD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
;; source: ofx | ||
;; date: 2018-07-03 | ||
;; info: null | ||
|
||
2018-07-03 price TYCDT 1.554232804232804232804232804 USD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<?OFX OFXHEADER="200" VERSION="220" SECURITY="NONE" OLDFILEUID="NONE" NEWFILEUID="DCA8FDD4-5065-434E-8E5D-D9C5402ACB65"?> | ||
<OFX> | ||
<SIGNONMSGSRSV1> | ||
<SONRS> | ||
<STATUS> | ||
<CODE>0</CODE> | ||
<SEVERITY>INFO</SEVERITY> | ||
<MESSAGE>SUCCESS</MESSAGE> | ||
</STATUS> | ||
<DTSERVER>20230101011111.111[-5:EST]</DTSERVER> | ||
<LANGUAGE>ENG</LANGUAGE> | ||
<FI> | ||
<ORG>fidelity.com</ORG> | ||
<FID>7776</FID> | ||
</FI> | ||
</SONRS> | ||
</SIGNONMSGSRSV1> | ||
<INVSTMTMSGSRSV1> | ||
<INVSTMTTRNRS> | ||
<STATUS> | ||
<CODE>0</CODE> | ||
<SEVERITY>INFO</SEVERITY> | ||
<MESSAGE>SUCCESS</MESSAGE> | ||
</STATUS> | ||
<INVSTMTRS> | ||
<DTASOF>20230121000000.000[-5:EST]</DTASOF> | ||
<CURDEF>USD</CURDEF> | ||
<INVACCTFROM> | ||
<BROKERID>fidelity.com</BROKERID> | ||
<ACCTID>X0000001</ACCTID> | ||
</INVACCTFROM> | ||
<INVTRANLIST> | ||
<BUYDEBT> | ||
<INVBUY> | ||
<INVTRAN> | ||
<FITID>Z0000000000000000000009</FITID> | ||
<DTTRADE>20230119000000.000[-5:EST]</DTTRADE> | ||
<MEMO>YOU BOUGHT</MEMO> | ||
</INVTRAN> | ||
<SECID> | ||
<UNIQUEID>912796Z77</UNIQUEID> | ||
<UNIQUEIDTYPE>CUSIP</UNIQUEIDTYPE> | ||
</SECID> | ||
<UNITS>+0000000096000.00000</UNITS> | ||
<UNITPRICE>000000099.296889000</UNITPRICE> | ||
<COMMISSION>+00000000000000.0000</COMMISSION> | ||
<FEES>+00000000000000.0000</FEES> | ||
<TOTAL>-95325.01</TOTAL> | ||
<CURRENCY> | ||
<CURRATE>1.00</CURRATE> | ||
<CURSYM>USD</CURSYM> | ||
</CURRENCY> | ||
<SUBACCTSEC>CASH</SUBACCTSEC> | ||
<SUBACCTFUND>CASH</SUBACCTFUND> | ||
</INVBUY> | ||
<ACCRDINT>+00000000000000.0000</ACCRDINT> | ||
</BUYDEBT> | ||
<INVBANKTRAN> | ||
<STMTTRN> | ||
<TRNTYPE>DEP</TRNTYPE> | ||
<DTPOSTED>20221123000000.000[-5:EST]</DTPOSTED> | ||
<TRNAMT>+00000000001111.0000</TRNAMT> | ||
<FITID>Z0000000000000000000003</FITID> | ||
<NAME>ELECTRONIC FUNDS TRANSFER RCVD</NAME> | ||
<MEMO>ELECTRONIC FUNDS TRANSFER RCVD</MEMO> | ||
<CURRENCY> | ||
<CURRATE>1.00</CURRATE> | ||
<CURSYM>USD</CURSYM> | ||
</CURRENCY> | ||
</STMTTRN> | ||
<SUBACCTFUND>CASH</SUBACCTFUND> | ||
</INVBANKTRAN> | ||
<SELLOTHER> | ||
<INVSELL> | ||
<INVTRAN> | ||
<FITID>Z0464551608101420230321</FITID> | ||
<DTTRADE>20230321000000.000[-4:EDT]</DTTRADE> | ||
<MEMO>REDEMPTION PAYOUT</MEMO> | ||
</INVTRAN> | ||
<SECID> | ||
<UNIQUEID>912796Z77</UNIQUEID> | ||
<UNIQUEIDTYPE>CUSIP</UNIQUEIDTYPE> | ||
</SECID> | ||
<UNITS>-0000000096000.00000</UNITS> | ||
<UNITPRICE>000000100.000000000</UNITPRICE> | ||
<COMMISSION>+00000000000000.0000</COMMISSION> | ||
<FEES>+00000000000000.0000</FEES> | ||
<TOTAL>+00000000096000.0000</TOTAL> | ||
<CURRENCY> | ||
<CURRATE>1.00</CURRATE> | ||
<CURSYM>USD</CURSYM> | ||
</CURRENCY> | ||
<SUBACCTSEC>CASH</SUBACCTSEC> | ||
<SUBACCTFUND>CASH</SUBACCTFUND> | ||
</INVSELL> | ||
</SELLOTHER> | ||
</INVTRANLIST> | ||
<INVPOSLIST> | ||
<POSDEBT> | ||
<INVPOS> | ||
<SECID> | ||
<UNIQUEID>912796Z77</UNIQUEID> | ||
<UNIQUEIDTYPE>CUSIP</UNIQUEIDTYPE> | ||
</SECID> | ||
<HELDINACCT>CASH</HELDINACCT> | ||
<POSTYPE>LONG</POSTYPE> | ||
<UNITS>96000.00000</UNITS> | ||
<UNITPRICE>99.2920000</UNITPRICE> | ||
<MKTVAL>+00000095320.32</MKTVAL> | ||
<DTPRICEASOF>20230121000000.000[-5:EST]</DTPRICEASOF> | ||
<CURRENCY> | ||
<CURRATE>1.0</CURRATE> | ||
<CURSYM>USD</CURSYM> | ||
</CURRENCY> | ||
</INVPOS> | ||
</POSDEBT> | ||
</INVPOSLIST> | ||
</INVSTMTRS> | ||
</INVSTMTTRNRS> | ||
</INVSTMTMSGSRSV1> | ||
<SECLISTMSGSRSV1> | ||
<SECLIST> | ||
<DEBTINFO> | ||
<SECINFO> | ||
<SECID> | ||
<UNIQUEID>912796Z77</UNIQUEID> | ||
<UNIQUEIDTYPE>CUSIP</UNIQUEIDTYPE> | ||
</SECID> | ||
<SECNAME>912796Z77 UNITED STATES TREAS BILLS ZERO CPN 0.00000% 03/21/2023</SECNAME> | ||
<TICKER>912796Z77</TICKER> | ||
<UNITPRICE>99.2920000</UNITPRICE> | ||
<DTASOF>20230121033012.000[-5:EST]</DTASOF> | ||
<CURRENCY> | ||
<CURRATE>1.000</CURRATE> | ||
<CURSYM>USD</CURSYM> | ||
</CURRENCY> | ||
</SECINFO> | ||
<PARVALUE>1000.00</PARVALUE> | ||
<DEBTTYPE>COUPON</DEBTTYPE> | ||
<DEBTCLASS>TREASURY</DEBTCLASS> | ||
<COUPONRT>0000.00000</COUPONRT> | ||
</DEBTINFO> | ||
</SECLIST> | ||
</SECLISTMSGSRSV1> | ||
</OFX> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Assets:Savings:Fidelity | ||
Assets:Savings:Fidelity:Cash | ||
Assets:Savings:Fidelity:T912796Z77 |
Oops, something went wrong.