TD Ameritrade Client Library for .NET. Helps developers integrate custom solutions with the TD Ameritrade Trading Platform.
C#
Latest commit ca1e9fd Aug 28, 2013 @koistya koistya Add CancelOrder() method

README.md

TD Ameritrade Client Library for .NET

Free, open-source .NET Client for the TD Ameritrade Trading Platform. Helps developers integrate TD Ameritrade API into custom trading solutions.

Download

Get the latest version via NuGet

Sample

using (var client = new AmeritradeClient())
{
    client.LogIn();
    var quotes = await client.GetQuotes("GOOG", "AAPL", "MSFT");
    var symbols = await client.FindSymbols("bank");
    var prices = await client.GetHistoricalPrices("GOOG", startDate: DateTime.Now.AddYears(-1));
    var watchlists = await client.GetWatchlists();
}

If you have not specified username/password in code, you will be prompted to enter your TD Ameritrade client's credentials at runtime:

Login

Credits

Copyright (c) 2013 Konstantin Tarkus, KriaSoft LLC

This software is released under the Apache License 2.0 (the "License"); you may not use the software except in compliance with the License. You can find a copy of the License in the file LICENSE.txt accompanying this file.

Logo image is a trademark of TD Ameritrade, Inc.

Contacts

Do you have any questions or need help? Email me at hello@tarkus.me or visit our discussion board.

P.S.: Your contributions of any kind are welcome!