Added adjustments
Refactored to use adjust_sell?
Trade adjustments
Create adjustment entries
Minor refactor
Adjusted price for transactions
Lot adjustments
Using adjusted_price where appropriate
Better rational casting
Convert transaction price precision back to 12/4
Unrolled Migration#change
Adjustment reasons
Lot.corresponding adjustment test
Loan.open
Testing Loan.outstanding
Merged Lot.outstanding and Lot.open
Match Lot.open based on transaction date
Sanitized queries
Split job
Cleaner API