Closed akashc-25 closed 1 year ago
When no min_base_amount is returned, it means there is no limit on minimum base currency required. However, to create an order, you have to satisfy both base and quote minimum. In this case. Although no minimum amount is placed on ALEPH, the minimum quote amount is 1 USDT(which is also said in the error message), which means the value of your ALEPH order(amount * your order price) must be larger than 1 USDT.
Okay, I understood
Sorry for this question, What does the amount in this calculation (amount your order price) represent—the minimum quotation amount, or the last price, or the amount=(minimum quote amount total quantity)?
And correct me if I'm wrong, but does "your order price" in the formula equal to this formula (minimum quote amount * total quantity)?
It means your order amount. That is, your order must meet the following requirements.
When either min_quote_amount or min_base_amount is missing, just ignore corresponding requirement.
Okay, Thank you
I am using the Python SDK for my App to buy and sell Crypto. So, I‘m calling the API to buy the ALEPH USDT crypto.
What I am following is the below,
I'm configuring the API_KEY and API_SECRET_KEY
config = Configuration(key=, secret=, host=)
SpotApi(ApiClient(config))
I then use the get currency pair API to retrieve the ALEPH USDT currency pair. I am obtaining the min quote amount value from the pair.
Next, I am calling the list_tickers API to get the last price of the currency.
After that, I am initializing the Order class by passing the necessary values.
Then I am calling the create_order.
Can anybody please assist me with this?
I'm assuming that because ALEPH USDT crypto isn't returning the min base amount, some internal conditions aren't satisfied. Is this the cause of the above problem or is there another factor that I am missing?