This file is indexed.

/usr/include/mamda/MamdaQuoteOutOfSequence.h is in libmamda-dev 2.2.2.1-10.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
/* $Id$
 *
 * OpenMAMA: The open middleware agnostic messaging API
 * Copyright (C) 2011 NYSE Technologies, Inc.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301 USA
 */

#ifndef MamdaQuoteOutOfSequenceH
#define MamdaQuoteOutOfSequenceH

#include <mamda/MamdaConfig.h>
#include <mamda/MamdaBasicEvent.h>
#include <mamda/MamdaFieldState.h>

namespace Wombat
{

    /**
     * MamdaQuoteOutOfSequence is an interface that provides access to fields
     * related to quote updates.
     */

    class MAMDAExpDLL MamdaQuoteOutOfSequence : public MamdaBasicEvent
    {
    public:

        /**
         * Get the quote bid price.
         *
         * @return Bid price.  The highest price that the representative
         * party/group is willing to pay to buy the security.  For most
         * feeds, this size is represented in round lots.
         */
        virtual const MamaPrice&  getBidPrice() const = 0;

        /**
         * Get the quote bid yield fieldState
         *
         * @return MamdaFieldState.  An enumeration representing field state.
         */
        virtual MamdaFieldState getBidPriceFieldState() const = 0;

        /**
         * Get the quote bid size.
         *
         * @return Total share size available for the current bid price.
         * Note: many feeds provide this size in terms of round lots.
    
         */
        virtual mama_quantity_t  getBidSize() const = 0;

        /**
         * Get the quote bid yield fieldState
         *
         * @return MamdaFieldState.  An enumeration representing field state.
         */
        virtual MamdaFieldState getBidSizeFieldState() const = 0;

        /**
         * Get the quote bid depth.
         *
         * @return The total size available at the current best bid price.
         * Only supported by some exchanges.  The total size may differ
         * from the "best" size in that the total may be aggregated from
         * multiple sources.
         */
        virtual mama_quantity_t  getBidDepth() const = 0;

        /**
         * Get the quote bid yield fieldState
         *
         * @return MamdaFieldState.  An enumeration representing field state.
         */
        virtual MamdaFieldState getBidDepthFieldState() const = 0;

        /**
         * Get the quote bid participant identifier.`
         *
         * @return The identifier of the market participant (e.g. exchange
         * or market maker) contributing the bid price field.
         */
        virtual const char*  getBidPartId() const = 0;

        /**
         * Get the quote bid yield fieldState
         *
         * @return MamdaFieldState.  An enumeration representing field state.
         */
        virtual MamdaFieldState getBidPartIdFieldState() const = 0;

        /**
         * Get the quote ask price.
         *
         * @return Ask price.  The lowest price that the representative
         * party/group is willing to take to sell the security.  For most
         * feeds, this size is represented in round lots.
         */
        virtual const MamaPrice&  getAskPrice() const = 0;

        /**
         * Get the quote bid yield fieldState
         *
         * @return MamdaFieldState.  An enumeration representing field state.
         */
        virtual MamdaFieldState getAskPriceFieldState() const = 0;

        /**
         * Get the quote ask size.
         *
         * @return Total share size available for the current ask price.
         * Note: many feeds provide this size in terms of round lots.
         */
        virtual mama_quantity_t  getAskSize() const = 0;

        /**
         * Get the quote bid yield fieldState
         *
         * @return MamdaFieldState.  An enumeration representing field state.
         */
        virtual MamdaFieldState getAskSizeFieldState() const = 0;

        /**
         * Get the quote ask depth.
         *
         * @return The total size available at the current best ask price.
         * Only supported by some exchanges.  The total size may differ
         * from the "best" size in that the total may be aggregated from
         * multiple sources.
         */
        virtual mama_quantity_t  getAskDepth() const = 0;

        /**
         * Get the quote bid yield fieldState
         *
         * @return MamdaFieldState.  An enumeration representing field state.
         */
        virtual MamdaFieldState getAskDepthFieldState() const = 0;

        /**
         * Get the quote ask participant identifier.
         *
         * @return The identifier of the market participant (e.g. exchange
         * or market maker) contributing the ask price field.
         */
        virtual const char*  getAskPartId() const = 0;

        /**
         * Get the quote bid yield fieldState
         *
         * @return MamdaFieldState.  An enumeration representing field state.
         */
        virtual MamdaFieldState getAskPartIdFieldState() const = 0;

        /**
         * Get the quote mid price.
         *
         * @return The mid price of the current quote.  Usually, this is
         * the average of the bid and ask prices, but some exchanges
         * provide this field explicitly (e.g. LSE).
         */
        virtual const MamaPrice&  getQuoteMidPrice  () const = 0;

        /**
         * Get the quote bid yield fieldState
         *
         * @return MamdaFieldState.  An enumeration representing field state.
         */
        virtual MamdaFieldState getQuoteMidPriceFieldState() const = 0;

        /**
         * Get the quote qualifiers.
         *
         * @return A normalized set of qualifiers for the last quote for
         * the security. This field may contain multiple string values,
         * separated by the colon(:) character. 
         *
         * <table width="100%" border="1">
         *   <tr><td><b>Value</b></td><td><b>Meaning</b></td></tr>
         *   <tr>
         *     <td>Normal</td>
         *     <td>Regular quote; no special condition</td>
         *   </tr>
         *   <tr>
         *     <td>DepthAsk</td>
         *     <td>Depth on ask side</td>
         *   </tr>
         *   <tr>
         *     <td>DepthBid</td>
         *     <td>Depth on bid side</td>
         *   </tr>
         *   <tr>
         *     <td>Fast</td>
         *     <td>Fast trading</td>
         *   </tr>
         *   <tr>
         *     <td>NonFirm</td>
         *     <td>Non-firm quote</td>
         *   </tr>
         *   <tr>
         *     <td>Rotation</td>
         *     <td>?</td>
         *   </tr>
         *   <tr>
         *     <td>Auto</td>
         *     <td>Automatic trade</td>
         *   </tr>
         *   <tr>
         *     <td>Inactive</td>
         *     <td>?</td>
         *   </tr>
         *   <tr>
         *     <td>SpecBid</td>
         *     <td>Specialist bid</td>
         *   </tr>
         *   <tr>
         *     <td>SpecAsk</td>
         *     <td>Specialist ask</td>
         *   </tr>
         *   <tr>
         *     <td>Locked</td>
         *     <td>Locked market - Bid is equal to Ask for OTCBB issues
         *     (Recaps only)</td>
         *   </tr>
         *   <tr>
         *     <td>Crossed</td>
         *     <td>Crossed market - Bid is greater than Ask for OTCBB
         *     (Recaps only)</td>
         *   </tr>
         *   <tr>
         *     <td>Synd</td>
         *     <td>Syndicate bid</td>
         *   </tr>
         *   <tr>
         *     <td>PreSynd</td>
         *     <td>Pre-syndicate bid</td>
         *   </tr>
         *   <tr>
         *     <td>Penalty</td>
         *     <td>Penalty bid</td>
         *   </tr>
         *   <tr>
         *     <td>UnsolBid</td>
         *     <td>Unsolicited bid</td>
         *   </tr>
         *   <tr>
         *     <td>UnsolAsk</td>
         *     <td>Unsolicited ask</td>
         *   </tr>
         *   <tr>
         *     <td>UnsolQuote</td>
         *     <td>Unsolicited quote</td>
         *   </tr>
         *   <tr>
         *     <td>Firm</td>
         *     <td>?</td>
         *   </tr>
         *   <tr>
         *     <td>RangeInd</td>
         *     <td>?</td>
         *   </tr>
         *   <tr>
         *     <td>XpressBid</td>
         *     <td>NYSE LiquidityQuote Xpress bid indicator</td>
         *   </tr>
         *   <tr>
         *     <td>XpressAsk</td>
         *     <td>NYSE LiquidityQuote Xpress ask indicator</td>
         *   </tr>
         *  </table>
         */
        virtual const char*  getQuoteQualStr() const = 0;

        /**
         * Get the quote bid yield fieldState
         *
         * @return MamdaFieldState.  An enumeration representing field state.
         */
        virtual MamdaFieldState getQuoteQualStrFieldState() const = 0;

        virtual ~MamdaQuoteOutOfSequence() {};
    };

} // namespace

#endif // MamdaQuoteOutOfSequenceH