You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- If existing security has an ISIN, it must match
- Currency must match the existing security (trades only)
- Currency matching supports major/minor units
Copy file name to clipboardExpand all lines: name.abuchen.portfolio.tests/src/name/abuchen/portfolio/datatransfer/ibflex/IBFlexStatementExtractorTest.java
+108Lines changed: 108 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3679,4 +3679,112 @@ public void testIBFlexStatementFile28() throws IOException
3679
3679
BigDecimaleqqqTolerance = newBigDecimal("0.0000001"); // Same tolerance as HIDR test
Copy file name to clipboardExpand all lines: name.abuchen.portfolio.tests/src/name/abuchen/portfolio/datatransfer/ibflex/testIBFlexStatementFile01.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@
46
46
<CashTransactionaccountId="U123456"acctAlias=""currency="CHF"assetCategory=""fxRateToBase="1"symbol=""description="BALANCE OF MONTHLY MINIMUM FEE FOR MAR 2013"conid=""securityID=""securityIDType=""cusip=""isin=""underlyingConid=""underlyingSymbol=""issuer=""multiplier="0"strike=""expiry=""putCall=""dateTime="2013-04-03"amount="-9.49"type="Other Fees"tradeID=""code="" />
47
47
<CashTransactionaccountId="U123456"acctAlias=""currency="CAD"assetCategory=""fxRateToBase="0.91249"symbol=""description="CAD DEBIT INT FOR JAN-2013"conid=""securityID=""securityIDType=""cusip=""isin=""underlyingConid=""underlyingSymbol=""issuer=""multiplier="0"strike=""expiry=""putCall=""dateTime="2013-02-05"amount="1.23"type="Broker Interest Received"tradeID=""code="" />
48
48
<CashTransactionaccountId="U123456"acctAlias=""currency="CAD"assetCategory=""fxRateToBase="0.91249"symbol=""description="CAD DEBIT INT FOR JAN-2013"conid=""securityID=""securityIDType=""cusip=""isin=""underlyingConid=""underlyingSymbol=""issuer=""multiplier="0"strike=""expiry=""putCall=""dateTime="2013-02-05"amount="-15.17"type="Broker Interest Paid"tradeID=""code="" />
49
-
<CashTransactionaccountId="U123456"acctAlias=""currency="USD"assetCategory=""fxRateToBase="0.83701"symbol="GCM.TO"description="GCM.TO CASH DIVIDEND USD 0.6900000000 - US TAX"conid="6691"securityID=""securityIDType=""cusip=""isin=""underlyingConid=""underlyingSymbol=""issuer=""multiplier="0"strike=""expiry=""putCall=""dateTime="2017-09-15"amount="-2.07"type="Withholding Tax"tradeID=""code="" />
49
+
<CashTransactionaccountId="U123456"acctAlias=""currency="USD"assetCategory=""fxRateToBase="0.83701"symbol="GCM.TO"description="GCM.TO CASH DIVIDEND USD 0.6900000000 - US TAX"conid="80845553"securityID=""securityIDType=""cusip=""isin=""underlyingConid=""underlyingSymbol=""issuer=""multiplier="0"strike=""expiry=""putCall=""dateTime="2017-09-15"amount="-2.07"type="Withholding Tax"tradeID=""code="" />
50
50
<CashTransactionaccountId="U123456"acctAlias=""currency="USD"assetCategory=""fxRateToBase="1"symbol=""description="NP SECURITIES AND FUTURES VALUE BUNDLE FOR APR 2017"conid=""securityID=""securityIDType=""cusip=""isin=""underlyingConid=""underlyingSymbol=""issuer=""multiplier="0"strike=""expiry=""putCall=""dateTime="2017-05-03"amount="-9.18"type="Other Fees"tradeID=""code="" />
51
51
<CashTransactionaccountId="U123456"acctAlias=""currency="USD"assetCategory=""fxRateToBase="1"symbol=""description="NP SECURITIES AND FUTURES VALUE BUNDLE FOR APR 2017"conid=""securityID=""securityIDType=""cusip=""isin=""underlyingConid=""underlyingSymbol=""issuer=""multiplier="0"strike=""expiry=""putCall=""dateTime="2017-05-03"amount="9.18"type="Other Fees"tradeID=""code="" />
<!-- Case 3: No ISIN, same symbol, different currency - Should match base security 2 -->
23
+
<CashTransactionaccountId="U123456"acctAlias=""currency="AUD"assetCategory="STK"fxRateToBase="0.93194"symbol="UUU"description="URANIUM ONE INC."conid=""securityID="CA91701P1053"securityIDType="ISIN"cusip=""isin=""exchange="TSE"amount="10"type="Dividends"dateTime="20130401"reportDate="20130401" />
0 commit comments