OnixS C++ ICE Binary Order Entry Handler 1.1.1
API Documentation
Loading...
Searching...
No Matches
Defaults.h
Go to the documentation of this file.
1/*
2 * Copyright Onix Solutions Limited [OnixS]. All rights reserved.
3 *
4 * This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law
5 * and international copyright treaties.
6 *
7 * Access to and use of the software is governed by the terms of the applicable ONIXS Software
8 * Services Agreement (the Agreement) and Customer end user license agreements granting
9 * a non-assignable, non-transferable and non-exclusive license to use the software
10 * for it's own data processing purposes under the terms defined in the Agreement.
11 *
12 * Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part
13 * of this source code or associated reference material to any other location for further reproduction
14 * or redistribution, and any amendments to this copyright notice, are expressly prohibited.
15 *
16 * Any reproduction or redistribution for sale or hiring of the Software not in accordance with
17 * the terms of the Agreement is a violation of copyright law.
18 */
19
20#pragma once
21
23
24namespace Samples {
25
26using namespace ONIXS_ICEBOE_NAMESPACE;
29
30namespace Default {
31
32constexpr Port TlsPort = 443;
33
34constexpr int ClientId = 0;
35constexpr const char* UserId = "UserId";
36constexpr const char* Password = "Pwd";
37constexpr const char* TraderId = "TraderId";
38constexpr const char* TraderPassword = "TraderPwd";
39
43
44constexpr Int32 Symbol = 110163520;
45constexpr Int32 UnderlyingSymbol = 8513416;
46constexpr Int32 Symbols[] = {609, 9623, 9624, 566, 1017};
47
48constexpr Int32 MarketTypeId = 5;
49constexpr Int32 QuantityMantissa = 1000000000;
50constexpr auto Side = SideEnum::Buy;
51constexpr Decimal9 PriceMantissa = 10000000;
52
54constexpr size_t WarmupInterval = 10u;
55constexpr size_t IntervalBetweenSending = 10000u;
56
58
59}}
#define ONIXS_ICEBOE_NAMESPACE
Definition ABI.h:113
#define ONIXS_ICEBOE_MESSAGING_NAMESPACE
Definition ABI.h:114
#define ONIXS_ICEBOE_SCHEDULING_NAMESPACE
Definition ABI.h:115
static Timestamp fromStr(const std::string &, TimestampFormat::Enum=TimestampFormat::YYYYMMDDHHMMSSnsec)
De-serializes a timestamp from the given string.
Definition Time.h:848
Int64 Decimal9
Quantity, Price with constant exponent -9.
Definition Fields.h:32
std::basic_string_view< Char > StrRef
Definition StrRef.h:46
size_t CpuIndex
Logical processors that a thread is allowed to run on (first logical CPU has index 0).
Definition Thread.h:31
unsigned short Port
Definition Defines.h:41
constexpr auto Side
Definition Defaults.h:50
constexpr Threading::CpuIndex ReceivingThreadCpuAffinity
Definition Defaults.h:41
constexpr Int32 MarketTypeId
Definition Defaults.h:48
constexpr Threading::CpuIndex NumberOfMessages
Definition Defaults.h:53
constexpr Threading::CpuIndex MainThreadCpuAffinity
Definition Defaults.h:40
constexpr Int32 Symbol
Definition Defaults.h:44
constexpr const char * UserId
Definition Defaults.h:35
constexpr Int32 QuantityMantissa
Definition Defaults.h:49
constexpr Port TlsPort
Definition Defaults.h:32
constexpr Int32 Symbols[]
Definition Defaults.h:46
constexpr size_t IntervalBetweenSending
Definition Defaults.h:55
constexpr Int32 UnderlyingSymbol
Definition Defaults.h:45
constexpr const char * TraderId
Definition Defaults.h:37
constexpr size_t WarmupInterval
Definition Defaults.h:54
constexpr const char * Password
Definition Defaults.h:36
const Timestamp Timestamp
Definition Defaults.h:57
constexpr Decimal9 PriceMantissa
Definition Defaults.h:51
constexpr const char * TraderPassword
Definition Defaults.h:38
constexpr Threading::CpuIndex AuxiliarySendingThreadAffinity
Definition Defaults.h:42
constexpr int ClientId
Definition Defaults.h:34