---
title: Milestone - Cost
description: finfolio investment portfolio management software
---

[![FinFolio | Portfolio Management Software](https://www.finfolio.com/hs-fs/hubfs/finfolio-3a.png?width=145&name=finfolio-3a.png)](http://finfolio.com/)

# FinFolio | Portfolio Management Software Blog

## Milestone - Cost

by [Matt Abar](https://www.finfolio.com/blog/author/matt-abar), on May 23, 2008 7:43:00 AM

We finally locked down the cost module last week--our biggest headache so far. As you enter transactions, whether via import or data entry, FinFolio allocates your tax lots using your specified allocation.

It does LIFO, FIFO, Highest, Lowest, Average, and Specific Lot. A neat thing about Specific Lot--you set the top-level allocation type to Specific Lot, then you can set the lot type on individual transactions to LIFO/FIFO/Highest/Lowest. This means you can do fine-grained lot allocation without the headache of having to calculate the lots yourself. (and you can still allocate them manually)

We have test cases for some security types, including short positions and options. Those were very difficult to do in Techfi's software so we made sure they all worked automatically this time around. We're planning on fleshing out any remaining security types before the Developer Preview.

The tax module automatically detects and handles wash sales, qualified dividends, and constructive sales. It tracks not only long term and short term gain, but also gain from collectibles, qualified small business stock, SSBIC, Section 1256 gain, and un-recaptured 1250 gain. It will automatically analyze qualified dividends, correctly treating non-qualified dividends as ordinary income rather than short term capital gain.

After spending the last three months on capital gains reporting, I've become convinced that most other software in our industry is reporting tax incorrectly.

Some examples:

- An account sold a security in December at a loss, then bought an equivalent security in January. Will your software report the sale as a realized loss, or will it correctly ignore it?
- Your client owns a stock in one account, but goes short on the same stock in another account at a price higher than his original purchase. Will your software correctly list it as a gain?
- One of your accounts has a dividend on a fund they owned for less than 45 days. Will your software correctly report it as ordinary income, or will it report it as a short term gain? Does your software even have an ordinary income column on your Gains/Losses report?

We handle all of those examples correctly and many more--too many tax situations to list in a single post. We're not completely finished with cost yet, but we're locking it down until Beta 1 ships. Some things we're still missing, but are planning on adding, are the MinTax, Pro-Rate, Double-Category Average, and Mark-to-Market methods. Mark-to-market is actually already written (we needed it to handle Section 1208 index options) but we haven't exposed it as a top-level allocation method yet. We also plan to add support for straddles.

In the last month, we've been playing with Silverlight, which led to a rewrite of our core object model. And we're in the process of implementing imports, which led to another rewrite of our core object model. (sigh) We're trying to touch on everything before we release the Developer Preview, because we'd prefer to avoid major changes afterwards.

Topics: [Development](https://www.finfolio.com/blog/topic/development)

- [Tweet](https://twitter.com/share)

### About FinFolio

FinFolio makes portfolio management software for investment advisors. We have embraced an expanded definition of portfolio management that includes reporting, rebalancing, trading, billing, a mobile-ready client portal and all other elements of your back office, integrated into a single portfolio management software suite.

### Subscribe to Email Updates

### Recent Posts

### Posts by Topic

- [Development (22)](https://www.finfolio.com/blog/topic/development)
- [Integration (6)](https://www.finfolio.com/blog/topic/integration)
- [Product (6)](https://www.finfolio.com/blog/topic/product)
- [Hiring (2)](https://www.finfolio.com/blog/topic/hiring)
- [13F (1)](https://www.finfolio.com/blog/topic/13f)
- [Automation (1)](https://www.finfolio.com/blog/topic/automation)
- [XML (1)](https://www.finfolio.com/blog/topic/xml)

[see all](https://www.finfolio.com/blog/milestone-cost#)

### Blog Archive

- [April 2008 (3)](https://www.finfolio.com/blog/archive/2008/04)
- [February 2008 (2)](https://www.finfolio.com/blog/archive/2008/02)
- [June 2008 (2)](https://www.finfolio.com/blog/archive/2008/06)
- [July 2008 (2)](https://www.finfolio.com/blog/archive/2008/07)
- [September 2015 (2)](https://www.finfolio.com/blog/archive/2015/09)
- [September 2017 (2)](https://www.finfolio.com/blog/archive/2017/09)
- [January 2008 (1)](https://www.finfolio.com/blog/archive/2008/01)
- [May 2008 (1)](https://www.finfolio.com/blog/archive/2008/05)
- [July 2014 (1)](https://www.finfolio.com/blog/archive/2014/07)
- [June 2015 (1)](https://www.finfolio.com/blog/archive/2015/06)
- [August 2015 (1)](https://www.finfolio.com/blog/archive/2015/08)
- [December 2015 (1)](https://www.finfolio.com/blog/archive/2015/12)
- [January 2016 (1)](https://www.finfolio.com/blog/archive/2016/01)
- [July 2016 (1)](https://www.finfolio.com/blog/archive/2016/07)
- [February 2017 (1)](https://www.finfolio.com/blog/archive/2017/02)
- [June 2017 (1)](https://www.finfolio.com/blog/archive/2017/06)
- [July 2017 (1)](https://www.finfolio.com/blog/archive/2017/07)
- [October 2017 (1)](https://www.finfolio.com/blog/archive/2017/10)
- [July 2018 (1)](https://www.finfolio.com/blog/archive/2018/07)
- [February 2019 (1)](https://www.finfolio.com/blog/archive/2019/02)
- [March 2019 (1)](https://www.finfolio.com/blog/archive/2019/03)
- [January 2021 (1)](https://www.finfolio.com/blog/archive/2021/01)
- [February 2022 (1)](https://www.finfolio.com/blog/archive/2022/02)
- [March 2022 (1)](https://www.finfolio.com/blog/archive/2022/03)
- [April 2022 (1)](https://www.finfolio.com/blog/archive/2022/04)
- [May 2022 (1)](https://www.finfolio.com/blog/archive/2022/05)
- [August 2022 (1)](https://www.finfolio.com/blog/archive/2022/08)
- [July 2023 (1)](https://www.finfolio.com/blog/archive/2023/07)
- [September 2023 (1)](https://www.finfolio.com/blog/archive/2023/09)
- [April 2024 (1)](https://www.finfolio.com/blog/archive/2024/04)

[see all](https://www.finfolio.com/blog/milestone-cost#)

Wealth management simplified

[![Schedule Demo](https://hubspot-no-cache-na2-prod.s3.amazonaws.com/cta/default/543464/b9de1cd2-9563-40b3-891a-8c0f098fbf48.png)](https://hubspot-cta-redirect-na2-prod.s3.amazonaws.com/cta/redirect/543464/b9de1cd2-9563-40b3-891a-8c0f098fbf48)

### About FinFolio

FinFolio​ makes **portfolio management software** for investment advisors and professional wealth managers.  
 

### Connect With Us

<http://finfolio.hs-sites.com/blog/rss.xml><https://twitter.com/FinFolio>

### From Our Blog

### Get Updates

### Contact

FinFolio  
3000 Lawrence Street, Suite 6  
Denver, CO 80205  
[(720) 206-0660](tel://720-206-0660)  
[sales@finfolio.com](mailto:sales@finfolio.com)

[PRIVACY](https://docs.google.com/document/d/1Ddfo2Qo0Fej5n5PdUtAKdqeTMNvSDhIUZfVTwYiRLNU/edit?usp=sharing)