public interface MamdaOptionChainHandler
| Modifier and Type | Method and Description |
|---|---|
void |
onOptionChainRecap(MamdaSubscription subscription,
MamdaOptionChainListener listener,
com.wombat.mama.MamaMsg msg,
MamdaOptionChain chain)
Method invoked when an updated full option chain is
available.
|
void |
onOptionContractCreate(MamdaSubscription subscription,
MamdaOptionChainListener listener,
com.wombat.mama.MamaMsg msg,
MamdaOptionContract contract,
MamdaOptionChain chain)
Method invoked when a new contract is created in the option
chain.
|
void |
onOptionSeriesUpdate(MamdaSubscription subscription,
MamdaOptionChainListener listener,
com.wombat.mama.MamaMsg msg,
MamdaOptionSeriesUpdate event,
MamdaOptionChain chain)
Method invoked upon when a new contract is added to or removed
from the option chain, excluding upon receipt of the initial
value.
|
void onOptionChainRecap(MamdaSubscription subscription, MamdaOptionChainListener listener, com.wombat.mama.MamaMsg msg, MamdaOptionChain chain)
subscription - The subscription which received the udpate.listener - The listener which invoked the callback.msg - The MamaMsg that triggered this invocation.chain - The full option chain.void onOptionContractCreate(MamdaSubscription subscription, MamdaOptionChainListener listener, com.wombat.mama.MamaMsg msg, MamdaOptionContract contract, MamdaOptionChain chain)
subscription - The subscription which received the update.listener - The listener which invoked the callback.msg - The MamaMsg that triggered this invocation.contract - The newly created option contract.chain - The full option chain.void onOptionSeriesUpdate(MamdaSubscription subscription, MamdaOptionChainListener listener, com.wombat.mama.MamaMsg msg, MamdaOptionSeriesUpdate event, MamdaOptionChain chain)
subscription - The subscription which received the update.listener - The listener which invoked the callback.msg - The MamaMsg that triggered this invocation.event - Access to details from the option series update
event.chain - The full option chain.onOptionContractCreate(com.wombat.mamda.MamdaSubscription, com.wombat.mamda.options.MamdaOptionChainListener, com.wombat.mama.MamaMsg, com.wombat.mamda.options.MamdaOptionContract, com.wombat.mamda.options.MamdaOptionChain)Copyright 2007 Wombat Financial Software, Inc.