尚不支持不支持的coinbase createorder()
使用node.js和ccxt库,我有一个api到coinbase,并且从TradingView获取Webhook JSON。尽管我的节点可以正确地从Web服务获取数据,并将API连接到Coinbase以检索余额和计算交易,但是每次使用CCXT的Exchange.js创建订单时,都会出现错误。错误:“不支持不支持的Coinbase createorder()。”
我正在尝试交易BTC/USD对。在Coinbase API设置上,我启用了所有权限。也许我的Webhook无法正确设置。我不知道。请帮忙。
Using node.js with ccxt libraries I have API to coinbase and it's getting webhook json from tradingview. While I have node properly getting data from web services and connecting API to coinbase to retrieve balances and calculating trade, there is an error each time creating order using ccxt's exchange.js. error: "notsupported coinbase createorder() is not supported yet."
I'm trying to trade BTC/USD pairs. On coinbase API setting i have all permissions enabled. Perhaps my webhook is not setup properly. I'm not sure. Please help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Coinbase上的交易直到最近才使用尚无API的“高级交易”的Coinbase提供;因此,没有
CREATERDORD
Coinbase方法。如果您想使用Coinbase Pro,则有一个CCXTCOINBASEPRO
类。Trading on coinbase is only recently available using coinbases "Advanced Trading" for which there is no api yet; therefore, there's no
createOrder
method for coinbase. There is a CCXTcoinbasepro
class if you would like to use Coinbase Pro.Coinbase现在有一个用于高级交易的API。参考: https://docs.cloud.coinbase。 COM/Advanced-trade-api/doc/rest-api overview 。
但是,我不知道CCXT是否支持它 - 我找不到任何CCXT发行说明。但是,我确实在CCXT GitHub页面上找到了以下问题,似乎是支持的请求: https://github.com/ccxt/cxt/issues/16281
Coinbase has an API for Advanced Trading now. Ref: https://docs.cloud.coinbase.com/advanced-trade-api/docs/rest-api-overview.
However, I don't know whether ccxt supports it yet - I can't find any ccxt release notes. However, I did find the following issue on the ccxt github page that seems to be a request for support: https://github.com/ccxt/ccxt/issues/16281