question

Upvotes
Accepted
16 1 3 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

· Write an Answer
Upvotes
Accepted
32.2k 40 11 20

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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