System.IO.FileNotFoundException: 'Could not find file 'D:\Binance\binance-trader-csharp-master\binance-trader-csharp-master\bin\Debug\config.json'.'
Fix is simple include config.json file in project and set to always copy to output folder.
Thank you for this simple app my concern is performance is there limits to how often we can "pull" the order every three seconds is the default i see however are there limits that will cause exceptions if int.MaxValue is passed into GetOrderBook
client.GetOrderBook(symbol, int.MaxValue);
When called repeatedly with int.MaxValue GetOrderBook stops returning rows...
Added Log message after GetOrderBook invocation. Could this be Binance throttling the amount of data we can extract via API?
var orderBook = client.GetOrderBook(symbol, int.MaxValue);
InfoLog($"Returned {orderBook.Data.Asks.Count} Asks and {orderBook.Data.Bids.Count} Bids.");
4/17/2021 12:36:39 AM | INFO: buyPrice: 0.00000104 | sellPrice 0.00000103 | bid 0.00000103 | ask 0.00000104 | price 0.0000010504 | diff -0.0000000104
4/17/2021 12:36:39 AM | INFO: No open orders. Let's check the Order Book :D
4/17/2021 12:36:39 AM | INFO: No profit detected. Diff: -0.0000000104BTC
4/17/2021 12:36:41 AM | INFO: Connecting to Binance
4/17/2021 12:36:44 AM | INFO: Connecting to Binance
4/17/2021 12:36:47 AM | INFO: Connecting to Binance
4/17/2021 12:36:50 AM | INFO: Connecting to Binance
4/17/2021 12:36:53 AM | INFO: Connecting to Binance
4/17/2021 12:36:56 AM | INFO: Connecting to Binance
4/17/2021 12:36:59 AM | INFO: Connecting to Binance
4/17/2021 12:37:02 AM | INFO: Connecting to Binance
4/17/2021 12:37:05 AM | INFO: Connecting to Binance
4/17/2021 12:37:08 AM | INFO: Connecting to Binance
4/17/2021 12:37:11 AM | INFO: Connecting to Binance
4/17/2021 12:37:14 AM | INFO: Connecting to Binance
4/17/2021 12:37:17 AM | INFO: Connecting to Binance
4/17/2021 12:37:20 AM | INFO: Connecting to Binance