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 (("teste MA para o valor impresso:",ma)
Log (("teste MA2 para o valor impresso:",ma1)
Log{"teste MA3 para impressão:",ma2)
Log (("Teste R para o valor impresso:",r)
Log ((("Teste R1 para o valor impresso:",r1)
Log{"teste R2 para o valor impresso:",r2)
Eu quero uma média de 7 dias, uma média de 15 dias, e uma média de 30 dias, e isso imprime uma grande quantidade de dados, não sei qual é.
O que é que você está a fazer?
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
