David Bartley
d31ac10d08
Add `InvTransaction()` method to `InvTransaction` interface.
2024-04-10 21:16:42 -04:00
David Bartley
e3c4afc0a3
Add `SecurityInfo()` and `InvPosition()` tests.
2023-03-14 22:10:19 -04:00
John Starich
8ad638c7e2
Rename ofxgo_test package to ofxgo and remove self-imports/references
...
* Fix package in generate_constants.py
* Update generate_constants.py to use the new imports
2020-04-03 08:38:41 -04:00
Aaron Lindsay
35c7116654
Add the ability to marshal a Response to SGML/XML and test it
...
This allows for ofxgo to be used to create well-formatted OFX from poor
OFX, or even be used to generate OFX from other formats for easier
importing into financial management software.
Test this functionality by adding "round trip" testing to all existing
tests - ensure that responses' content is the same after a round trip of
marshalling and unmarshalling them.
2019-03-02 07:03:11 -05:00
Aaron Lindsay
94a77ac754
Add BasicClient, update Client to be interface
...
This paves the way for more easily implementing different clients for
different financial institutions
2018-10-02 20:55:25 -04:00
Aaron Lindsay
ddc674b287
go fmt
2017-11-18 05:58:32 -05:00
Aaron Lindsay
1e55cb8bd7
Switch to copy of encoding/xml with only that subdirectory
2017-10-02 09:21:56 -04:00
Aaron Lindsay
2046fa32e5
Use CurrSymbol instead of String to represent currencies
2017-04-17 20:20:22 -04:00
Aaron Lindsay
0eba6741f2
Make the OFX spec version an 'enum'
2017-04-17 10:54:20 -04:00
Aaron Lindsay
cc90da4ed1
s/Id/ID/
2017-04-12 21:40:42 -04:00
Aaron Lindsay
3099c5f00f
Test open orders
2017-04-10 06:04:52 -04:00
Aaron Lindsay
674aac9dba
Add tests for list of positions
2017-04-10 05:27:47 -04:00
Aaron Lindsay
8ea820f309
Add tests for neglected InvTranList elements
2017-04-09 07:22:57 -04:00
Aaron Lindsay
d433a18df4
gofmt -s
2017-04-08 11:38:07 -04:00
Aaron Lindsay
932af2439b
Test remaining SECINFO types
2017-04-07 22:32:27 -04:00
Aaron Lindsay
4521bb377a
Use named constants instead of strings for enum-like OFX fields
...
This adds a python script to generate constants.go when `go generate` is
called, and updates the structs, tests, and command-line client to all
use the new named constants.
2017-04-06 09:06:41 -04:00
Aaron Lindsay
1560f44a3c
Switch Date to contain time.Time instead of being a typedef
2017-04-04 19:50:41 -04:00
Aaron Lindsay
7f5ef5751d
Switch Amount to contain big.Rat instead of being a typedef
2017-04-03 21:15:08 -04:00
Aaron Lindsay
9b03829645
Add additional investment statement response test
2017-04-03 20:50:31 -04:00
Aaron Lindsay
9ede56e2c4
Add investment statement tests
2017-04-01 21:17:32 -04:00