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 (("prueba el valor impreso de la MA:",ma)
Log ((("El resultado de la prueba MA2 fue:"ma1)
Log ((("El resultado de la prueba MA3 fue:",ma2)
Log (("la prueba R imprimió el valor:",r)
Log (("El valor que se imprime en la prueba R1:",r1)
Log (("el valor de la impresión de prueba R2:",r2)
Quiero un promedio de 7 días, un promedio de 15 días, y un promedio de 30 días.
Los novatos buscan instrucción.
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
