This project is read-only.
Project Description
.NET wrapper for the API of the popular trading site Collective2. This implementation wraps the C2 API XML responses in .NET business objects and provides methods for obtaining information about systems (signals, positions, etc.) as well as managing published systems.


For more information about C2 visit This implementation combines the two main C2 APIs, Data Services API and Signal Entry API. For more information about the C2 API visit the C2 Developer Forum

Sample Usage

using System;
using System.Collections.Generic;
using Nextropia.C2Manager.C2API;
C2Service c2service = new C2Service();
c2service.Connect("c2username", "c2password");

List<TradingSystem> systems = c2service.GetSubscribedSystems();

foreach (TradingSystem system in systems)
    Console.WriteLine("{0} ({1})", system.Name, system.ID);

    foreach (Position position in system.Positions)
        Console.WriteLine("\t{0} {1} {2}", position.Symbol, position.Quantity, position.PointValue);                

    foreach (Signal signal in system.PendingSignals)
        Console.WriteLine("\t{0} {1} {2}", signal.ActionType, signal.Quantity, signal.Symbol);


Last edited Jan 21, 2009 at 5:17 AM by nextropia, version 8