diff --git a/CM2005 Object Oriented Programming/Midterm/Merkelrex-TradingBot/TradingBot.cpp b/CM2005 Object Oriented Programming/Midterm/Merkelrex-TradingBot/TradingBot.cpp new file mode 100644 index 0000000..ab9fa61 --- /dev/null +++ b/CM2005 Object Oriented Programming/Midterm/Merkelrex-TradingBot/TradingBot.cpp @@ -0,0 +1,6 @@ +#include "TradingBot.h" + +TradingBot::TradingBot(MerkelMain* merkel) +{ + this->merkel = merkel; +} \ No newline at end of file diff --git a/CM2005 Object Oriented Programming/Midterm/Merkelrex-TradingBot/TradingBot.h b/CM2005 Object Oriented Programming/Midterm/Merkelrex-TradingBot/TradingBot.h new file mode 100644 index 0000000..bf39771 --- /dev/null +++ b/CM2005 Object Oriented Programming/Midterm/Merkelrex-TradingBot/TradingBot.h @@ -0,0 +1,11 @@ +#pragma once + +#include "MerkelMain.h" // required to interact with the order book, place bids, withdraw bids, place asks + +class TradingBot +{ + public: + TradingBot(MerkelMain* merkel); + private: + MerkelMain* merkel; +}; \ No newline at end of file