这个问题是我的前一次的后续问题,我想了解这段代码的工作原理。到目前为止,我做了以下工作:
fx.erl,主要是取消对io:format行的注释EURUSD15、EURUSD30、EURUSD60cd到文件夹,并在终端中使用代码和erlmake:all([load]).polis:create().polis:start().fx:init().fx:start(). (正如上一个问题的答案所建议的)控制台输出类似于
插入表中的新记录:“EURUSD15‘15” 表名:‘EURUSD 15’CurrencyPair:"EURUSD“SamplingRate:15 CloseL:"1.40720”(2009年)、"06“、"30”、"00“、"00”、"1.40730“、"1.40750”、"1.40700“、"1.40720”、"39"}
突然变化成这样的线条
*在FX数据插入过程中出错*。 表名:‘EURUSD 15’CurrencyPair:"EURUSD“抽样率:15 CloseL:"1.39620“{”2009年“、"06”、"25“、"11”、"15“、"1.39720”、"1.39750“、"1.39620”、"1.39620“、"196"}
我做错了什么,为什么数据插入有错误?
发布于 2016-03-22 18:08:05
我做了你的问题的步骤,但我跳过了其中的一些步骤,它起了作用:
(...)
New record inserted into table:'EURUSD15'
New record inserted into table:'EURUSD15'
New record inserted into table:'EURUSD15'
New record inserted into table:'EURUSD15'
New FOREX_DB update starting with:{2009,6,16,7,30,0,15}
6>以下是我所做的步骤:
git clone https://github.com/CorticalComputer/Book_NeuroevolutionThroughErlang.git
cd Book_NeuroevolutionThroughErlang/Ch_19/
erl然后在Erlang shell中:
make:all([load]).
polis:create().
polis:start().
fx:init().
fx:start().我正在使用Erlang/OTP 18 [erts-7.2.1]。
https://stackoverflow.com/questions/36159315
复制相似问题