In class BinanceStreamingExchange there is a field orderBookUpdateFrequencyParameter.
I am trying to set another value other than empty String "" and "@100Ms" to orderBookUpdateFrequencyParameter
In initServices() orderBookUpdateFrequencyParameter can only be set if userHigherFrequency == true
@Override
protected void initServices() {
super.initServices();
this.onApiCall = Events.onApiCall(exchangeSpecification);
boolean userHigherFrequency =
Boolean.TRUE.equals(
exchangeSpecification.getExchangeSpecificParametersItem(USE_HIGHER_UPDATE_FREQUENCY));
realtimeOrderBookTicker =
Boolean.TRUE.equals(
exchangeSpecification.getExchangeSpecificParametersItem(USE_REALTIME_BOOK_TICKER));
if (userHigherFrequency) {
orderBookUpdateFrequencyParameter = "@100ms";
}
Object fetchOrderBookLimit =
exchangeSpecification.getExchangeSpecificParametersItem(FETCH_ORDER_BOOK_LIMIT);
if (fetchOrderBookLimit instanceof Integer) {
oderBookFetchLimitParameter = (int) fetchOrderBookLimit;
}
}
But "@100Ms" is too fast, and "" is too slow. I would like to set a better value like "@10000ms".
Please consider this request. Thank you.
In class BinanceStreamingExchange there is a field orderBookUpdateFrequencyParameter.
I am trying to set another value other than empty String "" and "@100Ms" to orderBookUpdateFrequencyParameter
In initServices() orderBookUpdateFrequencyParameter can only be set if
userHigherFrequency == trueBut "@100Ms" is too fast, and "" is too slow. I would like to set a better value like "@10000ms".
Please consider this request. Thank you.