Bybit cryptocurrencyexchanges - cashback 20% - Registration Binance cryptocurrencyexchanges - Registration - cashback 10% KoCoin Cryptocurrency Exchange - cashback 20%
0 votes
by (64.2k points)
Can't create any order on binance futures #9472.
It becomes somewhat tiring, is there any documentation on this, couldn't find it in the manual. Also can't find any documentation on the specific fapi methods, the code is unreachable, and couldn't find it in the manual.
The text was updated successfully, but these errors were encountered:
kroitor commented Jun 29, 2021.
@Salz0 what's your CCXT version number?
Salz0 commented Jun 29, watter binance app 2021.
frosty00 commented Jun 29, 2021 •
@Salz0 have you tried doing.
wesleywilian commented Jun 29, binânsje fertsjinje 2021.
Also you can use the testnet with:
Salz0 commented Jun 29, 2021.
I am using the testnet, same things.
Salz0 commented Jun 29, 2021.
what is binanceusdm?
kroitor commented Jun 29, 2021.
@Salz0 it's a shorthand that we added recently for more convenient initialization of binance futures, without having to specify the defaultType.
Salz0 commented Jun 30, 2021.
getting --> ccxt.base.errors.BadSymbol: binancecoinm does not have market symbol BTC/USDT.
kroitor commented Jun 30, 2021.
@Salz0 what do you see from this short snippet ↓ ?
Salz0 commented Jun 30, 2021.
@Salz0 what do you see from this short snippet ↓ ?
frosty00 commented Jun 30, 2021 •
i think it is because you are in hedge mode, you need to change it to one direction mode in the binance futures settings.
Salz0 commented Jun 30, 2021.
i think it is because you are in hedge mode, you need to change it to one direction mode in the binance futures settings.
Ok, got one-way, now after getting Insufficient margin-error I am trying to do a transfer to the coin, 電子克朗納 (because am doing it all in isolated mode)
Is there any guide for this? I am trying to set up my bot for futures ( enabling isolated/crossed trades ) and It is difficult to get a grasp of how it is all done. Maybe there is some solution out there?
frosty00 commented Jun 30, 2021.
you can try binanceusdm.transferIn ('USDT', 20) if you have 20USDT in your spot wallet.
Salz0 commented Jun 30, 2021.
you can try binanceusdm.transferIn ('USDT', 20) if you have 20USDT in your spot wallet.
Does this transfer from the spot wallet? Because I already have everything on the future wallet.
Salz0 commented Jun 30, binance m simgesi 2021.
Right now, when trying to execute a order I get binanceusdm.
On libraries like python-binance you just need to set up the type and mode -> then execute the order. I have don't the identical thing here and I can't grasp what I am missing.
frosty00 commented Jun 30, 2021 •
@Salz0 what is the leverage of the contract, also note that the default amount is in BTC not USDT, so if you want to make a small long to test you could do.
Salz0 commented Jul 1, 2021.
Returns ccxt.base.errors.InsufficientFunds: binanceusdm.
When I tried doing something that corresponds to the wallet (0.00069 BTC) It said ccxt.base.errors.ExchangeError: binanceusdm.
Salz0 commented Jul 1, 2021.
Returns ccxt.base.errors.InsufficientFunds: binanceusdm When I tried doing something that corresponds to the wallet (0.00069 BTC) It said ccxt.base.errors.ExchangeError: binanceusdm.
0.00069 BTC is 24USD.
kroitor commented Jul 1, 2021.
@Salz0 your call to create_order('BTC/USDT', 'limit', 'buy', 0.01, 39254.73) will try to place an order for بائنس جائز آهي 0.01 BTC * 39254.73 USDT = 392.5473 USDT total cost. Do you have sufficient funds on your futures account to place that order?
Salz0 commented Jul 1, 2021.
@Salz0 your call to create_order('BTC/USDT', 'limit', 'buy', 0.01, 39254.73) will try to place an order for 0.01 BTC * 39254.73 USDT = 392.5473 USDT total cost. Do you have sufficient funds on your futures account to place that order?
I have 40USD, I have executed with 0.00069 BTC amount parameter.
kroitor commented Jul 1, 2021 •
@Salz0 please, paste your verbose output:
Make sure that your balance is sufficient and your order is above limits.
Those are documented here:
As you can see above, the minimal order amount is 0.001 BTC, and the minimal cost (amount * price) must be 5 USDT. Moreover, the amount precision for BTC/USDT is just 3 decimals, so you cannot order 0.000069, cause that violates the exchange rules as explained in the Manual above. The amount of 0.000069 contradicts the Binance limits and precision.
Hope that answers your question, let us know if not.
Salz0 commented Jul 1, 2021.
So, my leverage is set to 1.
Do I understand correctly that I need to set a leverage such that my order in total exceeds 0.001??
By the way, did I just execute?
kroitor commented Jul 1, 2021.
By the way, did I just execute?
kroitor commented Jul 1, 2021 •
Do I understand correctly that I need to set a leverage such that my order in total exceeds 0.001??
You have to be very precise with terms. There's no order total. There's order amount (in BTC), the order price (in USDT) and the order cost (amount * price, in USDT). These terms are explained here: https://github.com/ccxt/ccxt/wiki/Manual#placing-orders. All three (amount, price, cost) values must conform to the exchanges' rules as explained in this section: https://github.com/ccxt/ccxt/wiki/Manual#precision-and-limits.
We highly recommend reading the entire Manual from top to bottom, it has the answers to most starting questions and it will really save your time:
On the leverage – that is not specified explicitly, but you must have at least some maintenance margin to be able to keep your position open. Otherwise the exchanges will liquidate it. You can also test whether binance pārskats nz allows you to place limit orders within your margin on their website. You can also use the testnet to trade virtual funds for testing purposes.
One the executed limit order – if your price is higher than the current market price, the exchange will give you the market price in your favor, so you don't overpay, which is effectively the same as placing a market order. You can see that in the output above – the average filling price for your order was much lower than you ordered: 'average': 33199.37 .

Please log in or register to answer this question.

Welcome to Forex binaryoption Q&A, where you can ask questions and receive answers from other members of the community. Forex binaryoption forum
Servet rental crypto
Авиатор-как поднять бабла
एविएटर - ऑनलाइन पैसा कमाना कितना आसान है।
Confira o Slot Aviator – um divertido jogo de apostas onde você pode ganhar até 2000x
...