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?
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.