Use of Async and Await
From Legacy code: .... var client = new WebClient(); var content = client.DownloadString($"http://localhost:62323/api/stocks /{Ticker.Text}"); var data = JsonConvert.DeserializeObject <IEnumberable<StrockPrice>>(content); Stocks.ItemSource = data; ... converted using Async and Await: //same thing we are going to achieve using httpclient ... try { using(var client = new HttpClient()) { var result = await client. GetAsync($"http://localhost:2323/api/stocks /{Ticker.Text}") var content = await result.content.ReadAsStringAsync(); var data = JsonConvert.DeserializeObject <IEnumberable<StockPrice>>(content); Stocks.ItemSource = data } } catch(Exception ex) { } ...






BajaFinance
ReplyDeleteBuy side all 3 target hit till 9:26Am
BharatFin
Buy side TG1 got hit. (But it's not good for intraday)
CESC
all target got hit and it went 20+ more point(Really good stock for intraday)
CIPLA
All tg3 got hit till 9:30
HAVELLA
TG2 got hit
RELCAPITAL
open with gapup and then reach till 801 point within 9:30AM