2022-10-21 21:32 回答问题
t=table(`A1`A2`A3 as col1,`B1`B2`B3 as col2,`C1`C2`C3 as col3) t[t.size() : 0]
2022-10-21 21:16 回答问题
concat("D" + string(1..5), ',')
2022-10-21 21:13 回答问题
在DolphinDB中,对字典转置,得到一个table。 transpose(d)
2022-10-21 21:07 回答问题
select id, gap, sum(score, 2, 1) as total from t context by id csort score desc
2022-01-23 22:23 回答问题
select avg(price), sum(qty) from t1 group by date - (dayOfMonth(date) - 1) % 10 as xun
2021-10-19 09:18 回答问题
浮点数都是有精度的。出现 26380.000000000094587这样的而数字,整数后面跟一个非常小的小数,是正常的。所以浮点数的比较需要考虑精度。
2021-09-10 22:59 回答问题
bBands in TA module is not a state function. Therefore can't directly use in reactive engine. I slightly modify the code and adapt it to a state function as follows: @state def bBands(close, timePeriod, nbdevUp, nbdevDn){ mid = mavg(close, timePeriod)
2021-09-08 00:20 回答问题
DolphinDB中的时间类型内部是用一个整型表示的。因此直接生成相应的整数,然后转化成相应的时间类型最为高效。 a = 17 15 second(a * 3600)