Capital Markets Adapters 10.3.1 | Apama Capital Markets Adapters Documentation 10.3.1 | FXall TCPI Server Adapter | Sample events | MDServerDepth
 
MDServerDepth
Example: SPOT
com.apama.mds.MDServerDepth("FXALL_TCPI_TRANSPORT","Quote_rq_1387200864534","EUR.USD",
[com.apama.mds.MDDepthEntry("","","0",100,1000,
{"Allin":"2","FwdPts":"1","legside":"1"}),
com.apama.mds.MDDepthEntry("","","1",100.30000000000001,1000,
{"Allin":"2","FwdPts":"1","legside":"1"})],
{},{},{"QuoteType":"SPOT"})
Example: SWAP
com.apama.mds.MDServerDepth("FXALL_TCPI_TRANSPORT","Quote_rq_1387200864534","EUR.USD",
[com.apama.mds.MDDepthEntry("","","0",100,1000,
{"Allin":"2","FwdPts":"1","legside":"1"}),
com.apama.mds.MDDepthEntry("","","1",100.30000000000001,1000,
{"Allin":"2","FwdPts":"1","legside":"1"})
com.apama.mds.MDDepthEntry("","","0",100,1000,
{"Allin":"2","FwdPts":"1","legside":"2"}),
com.apama.mds.MDDepthEntry("","","1",100.30000000000001,1000,
{"Allin":"2","FwdPts":"1","legside":"2"})],
{},{},{"QuoteType":"SWAP"})