Type/to search
0
Follow
0
Followers
ordid=exchange.Buy(-1, float(dictParam[코인 개수가 아닌, 입력한 금액에 따라 구매하려면 "amount" 구문을 어떻게 사용해야 하나요?
Help
Created 2021-02-13 08:09:22  
 3
 1216

ordid=exchange.Buy(-1, float(dictParam["amount"])) 이 문법은, 왜 동전의 수를 입력하는 대신, 입력된 금액을 기준으로 구매하는 것일까요?

Related Recommendations
Comment
All comments (3)

    根据交易所识别的自己转换一下就可以了

    6 years ago

    如果我指定价格买 也是金额吗 测试是币数量 ordid=exchange.Buy(ticker.sell, float(dictParam["amount"])) 目前火币现货

    6 years ago

    一般市价买单是买入的金额,市价卖单是卖出的量.你碰到哪个交易所不符合规范

    6 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)