I am using the latest version of the Binance broker provider, configured for Binance US "Spot". I am currently unable to Buy or Sell USDT trading pairs via Strategy, as WL8 does not recognize my USDT as "buying power".
I've also noticed that if I manually close a position using the "Accounts" window, it will display it as "USD" rather than "USDT".
Also note that the "Fill Qty" is displayed incorrectly for the sell in the above image. WL8 correctly sold the full 3000 quantity position, which I confirmed directly in Binance:
I've also noticed that if I manually close a position using the "Accounts" window, it will display it as "USD" rather than "USDT".
Also note that the "Fill Qty" is displayed incorrectly for the sell in the above image. WL8 correctly sold the full 3000 quantity position, which I confirmed directly in Binance:
Rename
Yes, it only considers Cash for Buying Power. USDT is a coin, so it's not included. How is this preventing you from trading? Perhaps a portfolio sync issue? What about disabling portfolio sync and setting your position size explicitly? As far as the sell from the Accounts tool, it sees you have USD so it uses that as the base currency. It should have been submitted to Binance as a USD order, was it not? And finally, the fill is something I'll have to investigate to see why it did not report, or why Binance did not send, the full fill quantity.
Also, I think the USD is correct, because that's what is showing up in your screen shot of the Binance history page.
Also, I think the USD is correct, because that's what is showing up in your screen shot of the Binance history page.
I already cleared the error message unfortunately, but it was something to the effect of not having enough funds to enter the position. I will see if I can reproduce it today for the exact message.
These are the preferences I currently have set:
I will try unchecking "Use Broker-reported Account Value" and see if it makes any difference.
Maybe this is where I am misunderstanding. Binance has both USD and USDT trading pairs, and I only want to trade USDT. All of the symbols in my DataSet end with "USDT". Shouldn't the symbol in the DataSet determine how WL8 submits the order, not the existence of USD in my account?
These are the preferences I currently have set:
I will try unchecking "Use Broker-reported Account Value" and see if it makes any difference.
QUOTE:
As far as the sell from the Accounts tool, it sees you have USD so it uses that as the base currency. It should have been submitted to Binance as a USD order, was it not?
Maybe this is where I am misunderstanding. Binance has both USD and USDT trading pairs, and I only want to trade USDT. All of the symbols in my DataSet end with "USDT". Shouldn't the symbol in the DataSet determine how WL8 submits the order, not the existence of USD in my account?
The issue is that Binance doesn't report Spot positions, only balances, so the broker provider creates the positions itself, and uses your base currency as the quote asset.
I think it makes sense to maybe expose a new option to allow you to set your base currency to something else like USDT. I'll flag this as a feature request.
I think it makes sense to maybe expose a new option to allow you to set your base currency to something else like USDT. I'll flag this as a feature request.
Just a brief follow-up:
The specific error message was:
Unchecking the Portfolio Sync action did actually seem to fix the problem with entering positions. The remaining problem is that exiting positions is leaving me with USD rather than USDT, so the strategy can only exit one position before it stops working.
Hopefully the new option to set a base currency will address this.
The specific error message was:
QUOTE:
Binance Broker: Error Placing Order: Account has insufficient balance for requested action.
Unchecking the Portfolio Sync action did actually seem to fix the problem with entering positions. The remaining problem is that exiting positions is leaving me with USD rather than USDT, so the strategy can only exit one position before it stops working.
Hopefully the new option to set a base currency will address this.
I'm going to work on this one.
QUOTE:
I'm going to work on this one.
+1 for this feature. There will be progressively more cryptocurrency traders in future, and it would be nice if we could trade with the currency you wish to set :) (or setting BTC as base currency to trade alt/btc pairs)
Binance Build 23 is ready with Quote Base currency! Set it in the Broker Configuration and it can be changed during the same session.
In the Accounts tool, you'll notice that Positions are created only for valid crosses in the user-specified Quote Base currency. Those can be auto-traded. In all cases the crypto currency balances are display below the Account Value and Cash which are given in the Quote Base currency.
Make sure to update Binance, Kraken, and KuCoin all at once.
In the Accounts tool, you'll notice that Positions are created only for valid crosses in the user-specified Quote Base currency. Those can be auto-traded. In all cases the crypto currency balances are display below the Account Value and Cash which are given in the Quote Base currency.
Make sure to update Binance, Kraken, and KuCoin all at once.
Let me just say it first: top shit that you made this. I can finally trade x/BTC pairs on binance now, which will let me stack some satoshis :)
Quote Base currency is important now more than ever as I move from USD to USDT trading on Binance. Glad I found this discussion, I could not figure out why my buying power was 0.
Your Response
Post
Edit Post
Login is required