0
Follow
0
Followers
def main():
r = exchange.GetRecords(PERIOD_M1)
r1 = exchange.GetRecords(PERIOD_M15)
r2 = exchange.GetRecords(PERIOD_M30)
ma = TA.MA(r,1)
ma1 = TA.MA(r1,1)
ma2 = TA.MA(r2,999)
Log (("thử nghiệm MA in ra giá trị:"ma)
Log (("thử MA2 in ra số liệu:"ma1)
Log (("thử MA3 in ra số liệu:"ma2)
Log (("test R printed out the value:",r)
Log ((" kiểm tra R1 in ra giá trị:",r1)
Log ((" kiểm tra R2 in ra giá trị:",r2)
Tôi muốn có giá trung bình 7 ngày, 15 ngày và 30 ngày, và nó sẽ in ra một đống dữ liệu, không biết đó là gì.
Những người mới đến học tập.
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 (1)
- 1
