交换 join 对象的位置得到不一样的结果

请问这两个输出的结果为什么会不一样?

metrics = array(ANY);
metrics.join!(<mytt:RSI(close,24)>);
metrics.join!(<mytt:MACD(close,12,26,9)>);
metrics <-[<date>] //1
[<date>]<-metrics //2

attachments-2023-09-I09imRcA650d42ecaf2e0.jpgattachments-2023-09-aewhCswb650d43e5e1c1d.jpg

请先 登录 后评论

1 个回答

Polly

您应该是想要一个元代码组成的 anyvector 吧,目前 any vector 直接 join 可能达不到您要的效果,可以用reduce(join, metrics, [<date>])

请先 登录 后评论
  • 1 关注
  • 0 收藏,411 浏览
  • veryOrdinary 提出于 2023-09-22 15:23

相似问题