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.[
Thank you.[
Rename
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
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
Looks like an incompatibility to me.
1. WealthLab version?
2. Binance version?
3. Symbols traded?
1. WealthLab version?
2. Binance version?
3. Symbols traded?
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.
()
--------
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. Wealth-Lab 8 Build 18.
2. How can I see Binance Version?
3. BTCUSDT, ALGOUSDT, ADAUSDT, ALICEUSDT, XRPUSDT, DOGEUSDT, LTCUSDT, ETHUSDT, MANAUSDT.
2. How can I see Binance Version?
3. BTCUSDT, ALGOUSDT, ADAUSDT, ALICEUSDT, XRPUSDT, DOGEUSDT, LTCUSDT, ETHUSDT, MANAUSDT.
Downloaded the last version of Binance extension but sill have these errors. Any suggestions?
QUOTE:Tools > Home, upper right.
2. How can I see Binance Version?
Did you restart WealthLab after installing the latest Binance build?
Yes, I restarted again Wealth-Lab and tryed - still have the same problem.
I apply the screenshot. There is no version of extension.
I apply the screenshot. There is no version of extension.
It's not even installed. Did you choose the version for Wealth-Lab 7 which is incompatible with WL8 ?
No, I chose the WL8 version. Here is the name of installed file: WL8BinanceB13.exe
B13 is the version I guess.
B13 is the version I guess.
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?
Is it possible that you changed the default location of where either WealthLab or the Binance extension was installed?
No, WL8 and Binance extension installed in default folder
Any suggestions why it doesn't work?
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".
One cannot access the Binance API from Russian IPs due to sanctions but this does not apply to topic starter.
Yes, Eugene is right - I am trying to trade from Montenegro and have Binance account like citizen of Montenegro without any link to Russia.
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?
I tried, but this also didn't help :(
Before discarding the idea, we're going to try it the other way round (U.S. English > Russian) soon.
Your Response
Post
Edit Post
Login is required