write_OFX: Write OFX

Description Usage Arguments

Description

Write formated Questrade statement to an OFX file. Input should come from the 'format_statement' function.

Usage

1
2
write_OFX(statement, outfile, date, funds,
  header = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<?OFX OFXHEADER=\"200\" VERSION=\"200\" SECURITY=\"NONE\" OLDFILEUID=\"NONE\" NEWFILEUID=\"NONE\"?>\n")

Arguments

statement

data.frame. Questrade statement formatted using the 'format_statement' function

outfile

character. Output file path. Should have '.ofx' extension.

date

POSIXct. Statement date and time.

funds

data.frame. A table containing the name and symbol of all the funds on the statement

header

character. XML header. Default header used for Microsoft Money.


AndyPL22/questradeOFX documentation built on May 17, 2019, 6:10 a.m.