量化交易是指以先进的数学模型替代人为的主观判断,利用计算机技术从庞大的历史数据中海选能带来超额收益的多种「大概率」事件以制定策略,极大地减少了投资者情绪波动的影响,避免在市场极度狂热或悲观的情况下造成非理性的投资决策。
量化机器人添加代码 教程
添加类MyController:
package com.kb.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class MyController
{
@RequestMapping("/controller1")
public String controllerFunc1(Model m)
{
m.addAttribute("msg","hello controller 1");
return "test";
}
@RequestMapping("/controller2")
public String controllerFunc2(Model m)
{
m.addAttribute("msg","hello controller 2");
return "test";
}
@RequestMapping("/controller3")
public String controllerFunc3(Model m)
{
m.addAttribute("msg","hello controller 3");
return "test";
}
}