From 9ae8b92ba549ab916c88e9004a95c1ed0cd16059 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Wed, 19 Jan 2022 10:48:57 +0000 Subject: [PATCH] Added loop to click trader and hit self for perf testing --- secrets.hpp | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/secrets.hpp b/secrets.hpp index b0622e5..b8e4925 100644 --- a/secrets.hpp +++ b/secrets.hpp @@ -1,11 +1,13 @@ #pragma once -#define HOST "sytev070" -#ifdef TEST -#define PORT "9005" +#include <string> + +constexpr const char* HOST = "sytev070"; +#ifdef TEST_EXCHANGE +constexpr const char* PORT = "9005"; #else -#define PORT "9000" +constexpr const char* PORT = "9000"; #endif -#define USER "jgrunbau" -#define PASS "b7d630945a0854581d9f86ba147f34a5" +constexpr const char* USER = "jgrunbau"; +constexpr const char* PASS = "b7d630945a0854581d9f86ba147f34a5"; -- Gitblit v1.9.3