Neznakomec

Results 21 comments of Neznakomec

Добрый день. Если кто-то решил данную проблему (что практически в одно время посылается несколько ордеров, транзакций), и только потом прилетают сообщения onTransReply в библиотеку QUIKSharp: `case EventNames.OnTransReply:` и (возможно из-за...

> Тогда получается эту проверку нужно убрать [проверка](https://github.com/finsight/QUIKSharp/blob/d59d7963d00ec9ec643cc7dd68954bdb97476dfe/src/QuikSharp/DataStructures/Transaction/Transaction.cs#L28)

Maybe with `materialDesignSpinner.setFloatingLabelTextColor(color)` in your code?

I tried to implement such a method by myself and wrote a code ``` public void provideText(final String text) { int k = 0; Range range = new Range(); if...

I'm also don't know a good solution for streaming market data, may be just return an identifier ``` if (snapshot == false) { taskSource.SetResult(new TickSnapshotEndEventArgs(tickerId)); } ``` and leave the...

For the case of using `snapshot=true` this cancelling not required, cause TWS API do it for you: it opens subscription for 11 seconds maximum, tries to collect all appropriate tick...

@hftcryptobot I think you can use `TwsControllerBase::RequestMarketDataAsync`, but you should omit the moment with cancelling market data after 1 min. Then, you can use callbacks and catch the events as...

So, probably the solution is ``` CancellationTokenSource tokenSource = new CancellationTokenSource(60 * 1000); tokenSource.Token.Register(() => { // this.CancelMarketData(tickerId); this.twsCallbackHandler.TickPriceEvent -= tickPriceEventHandler; this.twsCallbackHandler.TickSizeEvent -= tickSizeEventHandler; this.twsCallbackHandler.TickStringEvent -= tickStringEventHandler; this.twsCallbackHandler.TickGenericEvent -= tickGenericEventHandler;...

@hftcryptobot no, this method not designed to work with level 2 and orderbook. You can use `TwsControllerBase::RequestMarketDataAsync` only for [level 1](https://interactivebrokers.github.io/tws-api/tick_types.html) market data ticks. I'm sorry to say that, but...