0
Follow
0
Followers
ازگر میں ریکارڈ کی ایک صف کے بجائے قیمتوں کی ایک صف کیسے حاصل کی جائے۔
Created 2019-07-10 15:23:46
1
1685
میں نے مثال کے طور پر دیکھا ہے کہ ایک آرٹیج جس میں ایک ریکارڈ موجود ہے وہ ایک ایکسچینج کے ذریعے حاصل کیا جا سکتا ہے۔ GetRecords ((Period)) ۔ لیکن میں اس آرٹیج کو حاصل کرنا چاہتا ہوں جس کی قیمت ہے ، جیسے کہ اوپن آخری 20 K لائنوں کا آرٹیج ، قریبی آخری 20 K لائنوں کا آرٹیج ، اور پھر اس آرٹیج پر numpy کا استعمال کرتے ہوئے کچھ حساب کتاب کریں۔
Related Recommendations
Get 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?5.5 Trading strategy optimization5.4 Why do we need an off-sample test5.3 How to read the strategy backtest performance report
Comment
All comments (1)
在API 文档中 https://www.fmz.com/api#talib库里面的函数指标
import talib
def main():
records = exchange.GetRecords()
cci = talib.CCI(records.High, records.Low, records.Close, 14) # 14 这个参数 可以 缺省。
Log(cci)
7 years ago
- 1
