- ago
Hello, I am testing connector to Binance for trading and the orders don't execute. What is the problem? The screenshot with errors is uploaded.

Thank you.[
0
515
18 Replies

Reply

Bookmark

Sort
- ago
#1
Hello,

Can you right click in the log viewer and choose "Copy all message details to clipboard", then paste here? The stack trace would be more helpful to isolate the issue. Thanks.

P.S. Next time it'd be optimal to summarize your issue/question in topic title - just as I did when renaming it:

WAS: Problem with Binance connector
IS: Binance broker provider: error placing order
1
Cone8
 ( 24.57% )
- ago
#2
Looks like an incompatibility to me.

1. WealthLab version?
2. Binance version?
3. Symbols traded?
1
- ago
#3
Eugene, ok, thank you, next time I will make the right topic title.

Here is the logs:
18.10.2022 22:15:07:592
Binance
Binance Broker: Exception getting Active Orders: Requested value 'Stop' was not found.
ArgumentException
Requested value 'Stop' was not found.
at System.Enum.TryParseByName(RuntimeType enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, UInt64& result)
at System.Enum.TryParse(Type enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, Object& result)
at System.Enum.Parse(Type enumType, String value)
at †††
†††œ.†††
†††Œœ(Type , String , †††
†††œ )
at WealthLab.Binance.OrderTypeExtensions.ToSpotOrderType(FuturesOrderType fot)
at WealthLab.Binance.BinanceBroker.GetActiveOrders()
--------
18.10.2022 22:15:08:328
Binance
Connected

--------
18.10.2022 22:35:03:838
Binance
Binance Broker: Error Placing Order: Object reference not set to an instance of an object.
NullReferenceException
Object reference not set to an instance of an object.
at (Object )
at †††
†††Œž•.†††
†††Œœ(Object , †††
†††Œž• )
at WealthLab.Binance.BinanceBroker.PlaceTrade(Transaction t)
--------
18.10.2022 22:45:07:190
Binance
Error calling Keep Alive: Illegal characters found in parameter 'listenKey'; legal range is '^[a-zA-Z0-9]{1,60}$'.
InvalidOperationException
Illegal characters found in parameter 'listenKey'; legal range is '^[a-zA-Z0-9]{1,60}$'.
at WealthLab.Binance.BinanceBroker.†††
†††‹˜•()
--------
18.10.2022 22:55:05:631
Binance
Binance Broker: Error Placing Order: Object reference not set to an instance of an object.
NullReferenceException
Object reference not set to an instance of an object.
at (Object )
at †††
†††Œž•.†††
†††Œœ(Object , †††
†††Œž• )
at WealthLab.Binance.BinanceBroker.PlaceTrade(Transaction t)
--------
18.10.2022 23:15:07:516
Binance
Error calling Keep Alive: Illegal characters found in parameter 'listenKey'; legal range is '^[a-zA-Z0-9]{1,60}$'.
InvalidOperationException
Illegal characters found in parameter 'listenKey'; legal range is '^[a-zA-Z0-9]{1,60}$'.
at WealthLab.Binance.BinanceBroker.†††
†††‹˜•()
--------
18.10.2022 23:25:05:616
Binance
Binance Broker: Error Placing Order: Object reference not set to an instance of an object.
NullReferenceException
Object reference not set to an instance of an object.
at (Object )
at †††
†††Œž•.†††
†††Œœ(Object , †††
†††Œž• )
at WealthLab.Binance.BinanceBroker.PlaceTrade(Transaction t)
--------
18.10.2022 23:45:07:832
Binance
Error calling Keep Alive: Illegal characters found in parameter 'listenKey'; legal range is '^[a-zA-Z0-9]{1,60}$'.
InvalidOperationException
Illegal characters found in parameter 'listenKey'; legal range is '^[a-zA-Z0-9]{1,60}$'.
at WealthLab.Binance.BinanceBroker.†††
†††‹˜•()
--------
19.10.2022 11:37:32:409
Binance
Binance Broker: Error Placing Order: Object reference not set to an instance of an object.
NullReferenceException
Object reference not set to an instance of an object.
at (Object )
at †††
†††Œž•.†††
†††Œœ(Object , †††
†††Œž• )
at WealthLab.Binance.BinanceBroker.PlaceTrade(Transaction t)
--------
19.10.2022 11:51:44:352
Binance
Error calling Keep Alive: Illegal characters found in parameter 'listenKey'; legal range is '^[a-zA-Z0-9]{1,60}$'.
InvalidOperationException
Illegal characters found in parameter 'listenKey'; legal range is '^[a-zA-Z0-9]{1,60}$'.
at WealthLab.Binance.BinanceBroker.†††
†††‹˜•()
--------
19.10.2022 14:00:04:958
Binance
Binance Broker: Error Placing Order: Object reference not set to an instance of an object.
NullReferenceException
Object reference not set to an instance of an object.
at (Object )
at †††
†††Œž•.†††
†††Œœ(Object , †††
†††Œž• )
at WealthLab.Binance.BinanceBroker.PlaceTrade(Transaction t)
--------
19.10.2022 18:40:50:723
Binance
Error calling Keep Alive: Illegal characters found in parameter 'listenKey'; legal range is '^[a-zA-Z0-9]{1,60}$'.
InvalidOperationException
Illegal characters found in parameter 'listenKey'; legal range is '^[a-zA-Z0-9]{1,60}$'.
at WealthLab.Binance.BinanceBroker.†††
†††‹˜•()
--------
19.10.2022 18:45:04:234
Binance
Binance Broker: Error Placing Order: Object reference not set to an instance of an object.
NullReferenceException
Object reference not set to an instance of an object.
at (Object )
at †††
†††Œž•.†††
†††Œœ(Object , †††
†††Œž• )
at WealthLab.Binance.BinanceBroker.PlaceTrade(Transaction t)
--------
19.10.2022 19:10:51:109
Binance
Error calling Keep Alive: Illegal characters found in parameter 'listenKey'; legal range is '^[a-zA-Z0-9]{1,60}$'.
InvalidOperationException
Illegal characters found in parameter 'listenKey'; legal range is '^[a-zA-Z0-9]{1,60}$'.
at WealthLab.Binance.BinanceBroker.†††
†††‹˜•()
--------
1
- ago
#4
1. Wealth-Lab 8 Build 18.
2. How can I see Binance Version?
3. BTCUSDT, ALGOUSDT, ADAUSDT, ALICEUSDT, XRPUSDT, DOGEUSDT, LTCUSDT, ETHUSDT, MANAUSDT.
0
- ago
#5
Downloaded the last version of Binance extension but sill have these errors. Any suggestions?
0
Cone8
 ( 24.57% )
- ago
#6
QUOTE:
2. How can I see Binance Version?
Tools > Home, upper right.

Did you restart WealthLab after installing the latest Binance build?
0
- ago
#7
Yes, I restarted again Wealth-Lab and tryed - still have the same problem.
I apply the screenshot. There is no version of extension.


0
- ago
#8
It's not even installed. Did you choose the version for Wealth-Lab 7 which is incompatible with WL8 ?
0
- ago
#9
No, I chose the WL8 version. Here is the name of installed file: WL8BinanceB13.exe
B13 is the version I guess.
0
Cone8
 ( 24.57% )
- ago
#10
Extensions must be installed in the main WealthLab installation folder, which by default is C:\Program Files\Quantacula, LLC\WealthLab 8\

Is it possible that you changed the default location of where either WealthLab or the Binance extension was installed?
0
- ago
#11
No, WL8 and Binance extension installed in default folder
0
- ago
#12
Any suggestions why it doesn't work?
0
Cone8
 ( 24.57% )
- ago
#13
At the moment we have no idea and can only assume that there's some strange incompatibility with Russian settings. Everything about your experience (error messages, missing version information, etc. ) is saying "incompatible".
0
- ago
#14
One cannot access the Binance API from Russian IPs due to sanctions but this does not apply to topic starter.
0
- ago
#15
Yes, Eugene is right - I am trying to trade from Montenegro and have Binance account like citizen of Montenegro without any link to Russia.
0
- ago
#16
That Russian locale on your PC may be the culprit. Can you try to shut down WL8 and then change your regional format in Windows to say United States?
0
- ago
#17
I tried, but this also didn't help :(
0
- ago
#18
Before discarding the idea, we're going to try it the other way round (U.S. English > Russian) soon.
0

Reply

Bookmark

Sort