ordid=exchange.Buy ((-1, float ((dictParam["amount"])))) This syntax is based on the amount of the input and not the number of coins.

Author: guihl1980, Created: 2021-02-13 08:09:22, Updated:

ordid=exchange.Buy ((-1, float(dictParam[amount])) This syntax, how is it that you buy by the amount you input, instead of the number of coins, please?


More

fengokYou can convert it according to the exchange's self-identification.

guihl1980If I specify a price to buy is it also an amount? The test is the number of coins ordid=exchange.Buy ((ticker.sell, float ((dictParam["amount"])) Currently the token cash

The grassThe general market price is the amount bought and the market price is the amount sold. Which exchange do you come across that doesn't meet the standards?