Ejemplo n.º 1
0
        public LivePortfolioClient(PortfolioDatabase database, MarketDataClient marketDataClient)
        {
            Database         = database;
            MarketDataClient = marketDataClient;

            //Log.Information("INSERTING POSITIONS");
            //Database.InsertPosition(new Position("BR_201218C145", 5, (float)5.40));
            //Database.InsertPosition(new Position("MARA_201218C6", 30, (float)0.90));
            //Database.InsertPosition(new Position("Z_201218C105", 5, (float)5.70));
        }
 public PaperTradeBrokerClient(PortfolioDatabase positionDB, MarketDataClient marketDataClient)
 {
     Database         = positionDB;
     MarketDataClient = marketDataClient;
 }