Apama Capital Markets Adapters 10.1 | Apama Capital Markets Adapters Documentation 10.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"})

Copyright © 2013-2017 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.