- Scala Machine Learning Projects
- Md. Rezaul Karim
- 51字
- 2021-06-30 19:05:41
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()
}
推薦閱讀
- 我的J2EE成功之路
- Mastering Salesforce CRM Administration
- Embedded Programming with Modern C++ Cookbook
- Implementing Oracle API Platform Cloud Service
- Moodle Course Design Best Practices
- ESP8266 Home Automation Projects
- Lightning Fast Animation in Element 3D
- 電腦上網輕松入門
- 人工智能技術入門
- Ansible 2 Cloud Automation Cookbook
- 重估:人工智能與賦能社會
- 基于Proteus的單片機應用技術
- 數據要素:全球經濟社會發展的新動力
- Flash CS5二維動畫設計與制作
- 菜鳥起飛五筆打字高手