========================================================================================================================================
  FIFO · LIFO · WEIGHTED AVERAGE
  Didactic Python code · Kardex Tauro · kardex-tauro.muisca.co
========================================================================================================================================
Movements read: 10
Sale prices read: 2

========================================================================================================================================
METHOD COMPARISON (same movements, same units sold)
========================================================================================================================================
Method                       Units sold      Cost of sales  Closing (units)    Closing (value)       Gross profit  Difference vs average
----------------------------------------------------------------------------------------------------------------------------------------
FIFO                             360.00       3,240,000.00           190.00       1,042,500.00       1,080,000.00             -36,397.70
LIFO                             360.00       3,312,000.00           190.00         970,500.00       1,008,000.00              35,602.30
Weighted average                 360.00       3,276,397.70           190.00       1,006,102.30       1,043,602.30                   0.00
----------------------------------------------------------------------------------------------------------------------------------------

CLOSING BALANCE BY METHOD
  FIFO                          190.00 units     1,042,500.00
  LIFO                          190.00 units       970,500.00
  Weighted average              190.00 units     1,006,102.30

CONCLUSION
  Priciest stock: FIFO = 1,042,500.00
  Cheapest stock: LIFO = 970,500.00
  Difference (a matter of method only, not money lost): 72,000.00

File written: salida/comparacion.csv
