Topic: Getting Historical Position Information (Fidelity Investments)
Hello - I am trying to see what my positions look like as of a specified date. By changing <DTSTART> in <INCTRAN> in the request, I am able to do this for transactions. Applying the same method to <DTASOF> in <INCPOS> does not appear to work for positions. No matter what, the OFX response <DTASOF> is always equal to the current date/time. Is there something wrong in my request, or is this a shortcoming of the Fidelity OFX server? The response below returns transaction information starting 9/1/2011, but position information as of today.
Thanks in advance.
OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:NONE
ENCODING:USASCII
CHARSET:1252
COMPRESSION:NONE
OLDFILEUID:NONE
NEWFILEUID:cf57700e7ed04baaa69ec91ac52ba52a
<OFX>
<SIGNONMSGSRQV1>
<SONRQ>
<DTCLIENT>20111012194915
<USERID>xxxxxxxx
<USERPASS>xxxxxx
<LANGUAGE>ENG
<FI>
<ORG>fidelity.com
<FID>7776
</FI>
<APPID>PyOFX
<APPVER>0100
</SONRQ>
</SIGNONMSGSRQV1>
<INVSTMTMSGSRQV1>
<INVSTMTTRNRQ>
<TRNUID>xxxxxxxxxxxxxxxxxxxxxxx
<CLTCOOKIE>xxx
<INVSTMTRQ>
<INVACCTFROM>
<BROKERID>fidelity.com
<ACCTID>xxxxxxxxxxxxx
</INVACCTFROM>
<INCTRAN>
<DTSTART>20110901
<INCLUDE>Y
</INCTRAN>
<INCOO>Y
<INCPOS>
<DTASOF>20110901
<INCLUDE>Y
</INCPOS>
<INCBAL>Y
</INVSTMTRQ>
</INVSTMTTRNRQ>
</INVSTMTMSGSRQV1>
</OFX>