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 ((("test MA prints out the numerical value:",ma)
Log ((("Ma2 yang dicetak untuk ujian:",ma1)
Log (("tes MA3 yang dicetak:",ma2)
Log ((("Ujian R mencetak nilai:",r)
Log ((("Uji R1 untuk mencetak nilai:",r1)
Log ((("R2 yang diimbas untuk ujian:",r2)
Saya mahu purata 7 hari, purata 15 hari, purata 30 hari, dan ia akan mencetak banyak data, saya tidak tahu yang mana.
Bermula dari seorang pelajar baru.
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
