Exemple #1
0
        public async Task <IActionResult> StockDataTest(Stock stock)
        {
            List <Stock> stockList = StockList.GetStockList();

            var TradingBot = new TradingBot(_sentimentProvider);
            var trade      = TradingBot.TradeEvaluation(stock);

            var tradeOrder = new
            {
                trade = trade.ToString()
            };

            return(Ok(tradeOrder));
        }