I see an example where you can get an array of records through exchange.GetRecords (Period). But I want to get an array of prices, like open the array of the last 20 K strings, close the array of the last 20 K strings, and then do some calculations on that array with numpy, how do I do that?
Inventors quantify - small dreamsIn the API documentation https://www.fmz.com/api#talib%E5%BA%93%E9%87%8C%E9%9D%A2%E7%9A%84%E5%87%BD%E6%95%B0%E6%8C%87%E6%A0%87 What's up? import talib def main (: records = exchange.GetRecords cci = talib.CCI ((records.High, records.Low, records.Close, 14) # 14 This parameter can be omitted. Log ((cc)) What's up?