How do you use Python to get all the varieties? How do you use Python to convert the daily K-line to the weekly K-line?

Author: 13547009666, Created: 2021-03-10 10:58:51, Updated:

Can you tell me how to use python to get all the varieties? How to use python to convert the daily k-line to the weekly k-line?


More

13547009666I tried the following statement, records=exchange.GetRecords ((PERIOD_W1), but the weekly K-line I got didn't match the actual APP weekly K-line.

The grassIs it a commodity futures? The K-line parameters can be customized directly, and the weekly K-line works as well.