question

Upvotes
Accepted
16 0 1 6

listen to Trades

Hi,

I try to figure out the way to listen to trades.

I should get the trade price, time, Quantity, side etc..

please advice,

Yakir

c#redi-apitrade
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
31.7k 37 11 19

Hello @yakirhersko,

Try MsgType = 14: Execution

Something like:

trdCache = new CacheControl();
trdCache.CacheEvent += ExecCache_CacheEvent;
if (!trdCache.Submit("Message", "(msgtype == 14)", ref errMsg))
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.