Skip to content

Commit

Permalink
Fix revolut stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
dickwolff committed Jan 20, 2025
1 parent c0b588c commit 299d9ab
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
13 changes: 13 additions & 0 deletions samples/revolut-crypto-export.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Symbol,Type,Quantity,Price,Value,Fees,Date
BTC,Buy,0.00056077,"89,162.28 SEK",50.00 SEK,0.00 SEK,"May 5, 2020, 10:10:57 PM"
BTC,Buy,0.00001082,"92,355.75 SEK",1.00 SEK,0.00 SEK,"Jun 1, 2020, 6:18:21 PM"
BTC,Sell,0.00001082,"86,557.95 SEK",0.93 SEK,0.00 SEK,"Jun 2, 2020, 9:10:31 PM"
BTC,Send,0.00056077,"137,211.36 SEK",76.94 SEK,0.00 SEK,"Nov 9, 2020, 3:50:00 AM"
BTC,Receive,0.00056077,"137,211.36 SEK",76.94 SEK,0.00 SEK,"Nov 9, 2020, 3:50:00 AM"
BTC,Buy,0.00069453,"156,852.71 SEK",108.94 SEK,0.00 SEK,"Nov 19, 2020, 1:57:22 PM"
BTC,Buy,0.00027963,"€35,761.54",€10.00,€0.24,"Mar 8, 2022, 2:08:54 PM"
ETH,Stake,0.18580349,"24,185.66 SEK","4,493.77 SEK",0.00 SEK,"Feb 2, 2024, 11:03:12 AM"
ETH,Buy,0.00431791,"€2,315.93",€10.00,€0.14,"Feb 9, 2024, 9:46:02 AM"
ETH,Staking reward,0.00002061,,,,"Jan 15, 2025, 12:23:31 AM"
ETH,Staking reward,0.00004274,,,,"Jan 16, 2025, 12:02:16 AM"
ETH,Staking reward,0.0000478,,,,"Jan 17, 2025, 12:43:29 AM"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ Date,Ticker,Type,Quantity,Price per share,Total Amount,Currency,FX Rate
2019-12-13T08:40:00.835101Z,MSFT,DIVIDEND,,,$0.08,USD,1.1179
2021-09-01T07:40:54.539038Z,,CUSTODY FEE,,,-$0.01,USD,1.18
2023-08-06T09:06:58.899860Z,WBD,TRANSFER FROM REVOLUT TRADING LTD TO REVOLUT SECURITIES EUROPE UAB,0.0004562,,$0,USD,1.1018
2022-08-25T08:27:46.419568Z,TSLA,STOCK SPLIT,0.16431924,,$0,USD,0.0947
2022-08-25T08:27:46.419568Z,TSLA,STOCK SPLIT,0.16431924,,$0,USD,0.0947
2023-09-09T07:59:34.452648Z,,TRANSFER FROM REVOLUT BANK UAB TO REVOLUT SECURITIES EUROPE UAB,,,-$0.01,USD,0.0902
2023-09-09T09:21:25.730802Z,TSLA,TRANSFER FROM REVOLUT TRADING LTD TO REVOLUT SECURITIES EUROPE UAB,0.24647886,,$0,USD,0.0902
6 changes: 6 additions & 0 deletions src/models/revolutRecord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,10 @@ export class RevolutRecord {
totalAmount: number;
currency: string;
fxRate: string;

// Revolut Crypto properties.
symbol: string;
price: number;
value: number;
fees: number;
}
2 changes: 1 addition & 1 deletion src/testing/data/yahooFinanceQuoteSummaryResults.json

Large diffs are not rendered by default.

0 comments on commit 299d9ab

Please sign in to comment.