官术网_书友最值得收藏!

TraderActor

TraderActor receives the prediction and, based on the label, writes a log message. It can trigger an HTTP request to the specified endpoint:

override def receive: Receive = {
case data: CurrentDataWithShortTermPrediction =>
Logger.debug("received short-term prediction" + data)
data.prediction match {
case "0" => notifySellShortTerm()
case "1" => notifyHoldShortTerm()
}
主站蜘蛛池模板: 论坛| 沙坪坝区| 延长县| 杨浦区| 沾益县| 永丰县| 湖州市| 宁乡县| 龙南县| 长武县| 平舆县| 泰顺县| 巴彦淖尔市| 诸暨市| 疏附县| 赣榆县| 恩平市| 玉屏| 娄底市| 柘城县| 灵丘县| 福鼎市| 岚皋县| 柳河县| 宜城市| 格尔木市| 屏南县| 阳曲县| 丹东市| 东阳市| 舒城县| 怀化市| 道孚县| 昂仁县| 巴彦县| 青田县| 达尔| 宁武县| 顺平县| 东阳市| 塔城市|