如何购买或出售Coinbase Pro的最高价格

时间:2020-04-04 06:59:44

标签: python coinbase-api

当前,我正在使用此库https://github.com/danpaquin/coinbasepro-python。 假设我有9000美元,我想购买BTC-USD的最高价格或卖出BTC-USD的最高价格。

这是我的代码:

auth_client.place_market_order(product_id='BTC-USD', side='buy', funds=Max_Funds)
auth_client.place_market_order(product_id='BTC-USD', side='sell', funds=Max_Funds)

我不知道如何出售或购买Max_funds。

0 个答案:

没有答案