问题标签 [enigma-catalyst]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
195 浏览

python - 使用 Enigma Catalyst 检索 Bittrex 交换的分钟频率数据时出错

ltc_btc我正在尝试使用Enigma Catalyst库从 Bittrex 交易所获取货币对的分钟数据:

从命令行:

拿到:

问题似乎来自被交易的特定资产,该资产被end_minute设置为“N/A”导致endlast_entry为空exchange_bundle.py#L467

错误是来自丢失的分钟烛台数据还是 Bittrex 根本没有通过他们的 api 提供分钟数据(但是如果梯子是这种情况,Catalyst 可以从所有检索到的数据中构建分钟烛台)

0 投票
1 回答
212 浏览

python - ENIGMA CATALYST - WARNING: Loader: Refusing to download new treasury data because a download succeeded

I'm playing around with Enigma Catalyst. Unfortunately, the documentation is rather limited.

So I'm trying to run their example "hello world" type algo which looks as follows:

I realize according to the documentation it says you first need to "ingest" download the historical data which I believe I did. However this leads to the following error:

Which results in no data

Question:

How do I access the downloaded data? Or, how do I delete and re-download the historical data, which is not covered in the docs?

Many Thanks.

0 投票
0 回答
84 浏览

python - 读取 JSON 时 Pandas 数据框中的 AttributeError

当我运行此文件以将比特币数据从交易所提取为 JSON 格式时:

我收到以下错误:

编辑:最初发布了错误的错误代码,现在已更新。

我的代码中是否有错误,或者我在初始化时缺少对 context.allData 的引用?我试图通过从文件中读取而不是从交换中获取来加速回测,这似乎需要很长时间。使用由 Quantopian/Zipline 构建的催化剂框架:https ://enigma.co/catalyst/index.html

0 投票
0 回答
357 浏览

python-3.x - Python 安装 enigma-catalyst 但出错。“功能导入错误:无法导入名称'功能'”

我试图使用 conda https://www.enigma.co/catalyst/install.html#troubleshooting-conda-install安装催化剂, 但遇到错误。我已经安装了“Python 3.5、3.6:Visual C++ 2015 Build Tools,它安装了 Visual C++ 14.0 版。这是推荐的版本,但不工作。请帮忙