New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Silent crash in CS console app #22274
Comments
Hello @landogarner7, yes that is very weird and I can't reproduce it locally but I'm not running windows/netframework. Is it possible to post a small self-contained project that we can compile and run locally to see if we can emulate that behavior ? |
Hi Carlos, that was fast - thank you. |
yes please send the project |
i am not able to reproduce it. |
I have eliminated all DB logic, please try again |
I was able to reproduce the issue, thanks for the response. |
It looks as if 4.3.8 does not solve the issue, will there be another update? |
@landogarner7 We weren't able to trace down the issue yet but as soon as we do we will link the PR to this issue so you can follow it |
No intention to push, take your time. Your assistance is highly appreciated, thank you !! |
Operating System
Windows
Programming Languages
No response
CCXT Version
4.3.6
Description
I had created a C# WinForms testapp that has put Binance fetchMarkets and fetchOHLCV Information into a DB - nothing special. As I did not really require any UI I have moved the logic to a Windows Console App and found the very strange behaviour that both calls - fetchMarkets and fetchOHLCV - crash the app without any Exception, Error Message or anything.
The exchange was setup like this :
ccxtEx = new ccxt.Binance(); ccxtEx.apiKey = BINANCE_API_KEY; ccxtEx.secret = BINANCE_API_SECRET; ccxtEx.enableRateLimit = true; ccxtEx.options["paginate"] = true; ccxtEx.options["adjustForTimeDifference"] = true; ccxtEx.options["recvWindow"] = 60000; ccxtEx.verbose = true;
The function calls are simply
List<MarketInterface> markets = await exchange.FetchMarkets(); (inside a public virtual async Task<bool> function)
and
List<OHLCV> ohlcv = await exchange.FetchOHLCV(symbol, period, maxDButc); (inside a public virtual async Task<bool> function)
I can follow the debug in FetchMarkets() until below code in binance.cs :
It iterated until value3 = inverse, then exits the while AND binance.cs, closes the task and then the application.
Any idea what went wrong ?
Code
The text was updated successfully, but these errors were encountered: