0
Follow
0
Followers
ボリンジャーバンド、TA.BOLLで取得したボリンジャーバンドのデータがKラインで取得したボリンジャーバンドのデータと大きく異なるのはなぜですか?助けてください
Created 2021-02-25 19:47:20
6
1507
ブリンデータコードを取得
def get_boll(self, period = PERIOD_M1 ,variance = 2):
self.upLine = '---'
self.midLine = '---'
self.downLine = '---'
r = exchange.GetRecords(period)
if r and len(r) > 20:
boll = TA.BOLL(r, 20, 2)
self.upLine = boll[0]
self.midLine = boll[1]
self.downLine = boll[2]
logを打つ2021-2-23 19:10のブリン上中下線の−1,−2,−3の値は:

例えば2021-2-23 19:10のブリン帯の軌道上の値は48995である.
しかし,K線を回測すると,1分BB(20,2) の上軌道値は48457です.

2つの値が500以上間違っています。 下のトークンのK線を直し,この時1分間のK線BB ((20,2) の上軌値も48457くらいです。
困ったことに,この質問は私が使うべきだと私は知っていますが,困ったことは何ですか?
Related Recommendations
How to Specify Different Versions of Data for the Rented Strategy by Its Rental Code MetadataAdvanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?
Comment
All comments (6)
- 1


