readOFXDataFile (method)
Reads an OFX response from a file.
Syntax
- (void)readOFXDataFile:(NSString*)fileName;
public func readOFXDataFile(_ fileName: String) throws -> Void
Remarks
This method reads a previously recorded OFX response from a file, including HTTP and OFX headers.
The following read-only properties are populated as a result of parsing the data file:
- CurrencyCode
- MarketingInfo
- StatementDate
- AvailableCash
- BuyingPower
- MarginBalance
- ShortBalance
- Balances
- OpenOrders
- Positions
- Securities
- Transactions
- ClosingDetails