Hi,
Is it possible to get updates when position changes via Core API? In this case I don't want to have an indicator, I just need the position value update from Rithmic/CQG in order to do some algo work.
Something similar to PositionListener? Do you have any examples?
Thanks,
blk
How to get the position value/updates from Core API
-
- Site Admin
- Posts: 278
- Joined: Mon Jun 11, 2018 11:44 am
- Has thanked: 2 times
- Been thanked: 31 times
Re: How to get the position value/updates from Core API
That's "onStatus" callback of Layer1ApiTradingListener interface. There is a catch though - it's currently not implemented in bookmap simulation, which means you have to use 3rd mode on the launchpad for it to work (still can use the simulation provided by, say, Rithmic)