deronwilliams
Technical User
Hello:
I would like to do FIFO (first-in-first-out) accounting in SAS. Since I have at most 4 sells and 4 buys, I can go through a decision tree for each transaction, but does anyone have any idea how to code a generic version?
FIFO Example:
I would like to do FIFO (first-in-first-out) accounting in SAS. Since I have at most 4 sells and 4 buys, I can go through a decision tree for each transaction, but does anyone have any idea how to code a generic version?
FIFO Example: