- ago
There are several situations in WL7 where it would be greatly appreciated if more information could be provided in the Log Viewer. Some examples that come to mind:

1) "Symbol not processed" - what was the reason for the symbol not being processed?
2) "Streaming disconnected ... an exception has occurred while receiving" - what was the exception?
3) "Illegal characters found in a parameter" - what characters, which parameter?
4) Strategy Monitor - sometimes I will click to activate a strategy, and within 1 second WL7 will automatically deactivate it. What was the reason?
5) "Binance Broker: Error Canceling Order: Unknown order sent" - this one might be out of the control of WL7, but any additional details about which order it was trying to cancel would be helpful in troubleshooting.
3
718
9 Replies

Reply

Bookmark

Sort
Glitch8
 ( 7.81% )
- ago
#1
Let me answer here ...

1) "Symbol not processed" - what was the reason for the symbol not being processed?

It just means that there was no data collected in the Strategy Monitor for that symbol during the processing period.

2) "Streaming disconnected ... an exception has occurred while receiving" - what was the exception?

If you click the item you should get a full stack trace form the exception. is this not occuring?

3) "Illegal characters found in a parameter" - what characters, which parameter?

This is a message from Binance.NET, the library we use to connect to Binance. I asked about it on their Discord but haven’t received a satisfactory answer. It seems to be dependent on the internet connection. i get it consistently when connected through my phone’s hotspot, but not when i’m connected to my main wifi.

4) Strategy Monitor - sometimes I will click to activate a strategy, and within 1 second WL7 will automatically deactivate it. What was the reason?

Did you happen to activate via Run Now? This deactivates it by design. Otherwise i’m not sure and would need more details to try and reproduce the issue.

5) "Binance Broker: Error Canceling Order: Unknown order sent" - this one might be out of the control of WL7, but any additional details about which order it was trying to cancel would be helpful in troubleshooting.

We are already putting any message we get back in the error message. Agree it would be helpful if more info was provided!
1
- ago
#2
QUOTE:
It just means that there was no data collected in the Strategy Monitor for that symbol during the processing period.

This seems indicative of a bug to me, since it happens very frequently for all types of symbols, strategies, and data scales. In terms of crypto, I'm referring to symbols like Ethereum and Bitcoin. Would they really have intervals of 1 to 5 minutes where no data needs to be collected?

QUOTE:
If you click the item you should get a full stack trace form the exception. is this not occuring?

Unfortunately not. Take the following image for example, and note that even though I have the exception selected in the Log Viewer, the exception details are blank:
https://www.wealth-lab.com/api/discussion/download/image/1570-kraken-stream-exception-3-png

QUOTE:
Did you happen to activate via Run Now?

No, I use the "Activate" button at the top left of the Strategy Monitor. It doesn't happen all the time so I haven't found a good set of reproduction steps yet. Was hoping the log output might help me better understand what's happening.
0
- ago
#3
Another case to this list. Some Russian traders got stuck there - very common case. You use some dataset, your benchmark ticker is set to something, let's say SPY, you try a provider that gives you intraday data for your dataset, let's say Russian stocks, your backtest will not succeed because you have no spy in you dataset and you have no intraday provider for spy for exaple. And the main point - you will get no exhaustive information to move forward.

We did it like that: someone wrote in the chat: I tried to run a backtest, but I couldn't, I don't know why. I answered: no more words, I know what's the problem.
2
Glitch8
 ( 7.81% )
- ago
#4
Good point, and it happens that just today we restored those missing error messages for B42. They had been unintentionally suppressed when we added the messaging around peeking indicators.

I will continue to try improve the other issues mentioned here as well, thanks for reporting!
2
- ago
#5
QUOTE:
It just means that there was no data collected in the Strategy Monitor for that symbol during the processing period.


In the below image, you can see an example situation that just happened, but also happens to me all of the time. I'm running a strategy on 5 different crypto symbols, at a 5-minute scale, and for some reason none of the symbols were processed. Why was this? I need more info from WL7.

0
- ago
#6
QUOTE:
Strategy Monitor - sometimes I will click to activate a strategy, and within 1 second WL7 will automatically deactivate it. What was the reason?


This just happened to me again, so I was able to get a screenshot. Note the strategy that I currently have selected in the Strategy Monitor. I had just pressed the "Activate" button, and it became active for one second, then automatically deactivated. In the "Processing Log", we see "Status = Error" and "Status = Deactivated", but this really doesn't give me any indication as to what's going on.

0
Cone8
 ( 24.56% )
- ago
#7
I don't have an idea about Post #6 with Tiingo.

Re: Post #5
Do you see that you're getting data from Binance in charts?

Check your Strategy Settings for each item and make sure that the market selected at the bottom is "Cryptos".

1
Glitch8
 ( 7.81% )
- ago
#8
Is this the machine running in a remote desktop? Is it possible the button got clicked twice, perhaps due to a transmission glitch with the remote desktop? I can’t think of a reason why an activated strategy would spontaneously deactivate, but will investigate.
1
Cone8
 ( 24.56% )
- ago
#9
I was able to duplicate this exact scenario but only if no data were present.

Just now for Tiingo, using the Provider testbed, I was able to retrieve Daily bars for SOLUSD, but when requesting 5 minute bars, it took several minutes to return the data. I have 12,000 bars set in my Data Prefs. Meanwhile, the WL7 U.I. was unresponsive.
2

Reply

Bookmark

Sort