diff --git a/examples/csv/coinbase-btc.csv.rules b/examples/csv/coinbase-btc.csv.rules index e24b99fda..c432adfdf 100644 --- a/examples/csv/coinbase-btc.csv.rules +++ b/examples/csv/coinbase-btc.csv.rules @@ -21,3 +21,9 @@ currency %currency if Visa debit.*1234 account2 assets:bank:checking # TODO want BTC on account1 posting, $ on account2 posting + +# if there's a transfer total, add that as price +# The double quotes enclosing each field have been removed at this point. +# TODO when supported, we'll set the other posting's amount instead +if ^[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]*,[^,]+ + amount %amount @@ $%transfer_total