marketdata-shootout/marketdata.fbs

34 lines
397 B
Plaintext
Raw Normal View History

namespace MdShootout;
union MessageBody {
Trade, LevelUpdate
}
table Trade {
price:uint64;
size:uint32;
}
enum Side:uint8 {
Buy,
Sell
}
table LevelUpdate {
price:uint64;
size:uint32;
flags:uint8;
side:Side;
}
table Message {
ts_nanos:uint64;
symbol:string;
body:MessageBody;
}
2019-08-22 19:53:22 -04:00
table MultiMessage {
seq_no:uint64;
messages:[Message];
}