public async Task <IActionResult> Index(string jobId, int orderId)
        {
            var job = await utils.Get(jobId);

            if (job?.Output?.Orders?.Count > 0 && job.Output.Orders.ContainsKey(orderId))
            {
                return(View(job.Output.Orders[orderId].ToOrderModel()));
            }
            else
            {
                return(View());
            }
        }
Ejemplo n.º 2
0
        public async Task <IActionResult> Status(string jobGroupId, string jobId)
        {
            var job = await utils.Get(jobId);

            return(View(new JobStatusViewModel(job.ToBacktestJobModel())));
        }