1 #ifndef SHARED_DEFINES_H
2 #define SHARED_DEFINES_H
5 #define EXCHANGE_ORDERID_SIZE 50
6 #define TRADEID_SIZE 50
9 #define API_REQUEST_SIZE 200
10 #define MAX_BUF_SIZE 1024
12 #define API_COMPILATION 1
14 typedef uint8_t UNSIGNED_CHARACTER;
15 typedef uint16_t UNSIGNED_SHORT;
16 typedef uint32_t UNSIGNED_INTEGER;
17 typedef uint64_t UNSIGNED_LONG;
18 typedef int64_t SIGNED_LONG;
19 typedef std::map<UNSIGNED_LONG, UNSIGNED_LONG> MapULong;
20 typedef MapULong::const_iterator MapULongIter;
24 #define ACCOUNT_FIELD_SIZE 12
25 #define MARKET_DATA_DEPTH_MAX 11
27 #define stringify( name ) # name
28 #define varString(name) stringify(name)<<":"<<name
30 #define OMM_DUMP_LOGS 0
31 #define MKTDATA_EVENT 0
32 #define USE_EXCHANGE_ORDER_ID_FOR_REFERENCE 1