A better Trader

From Bitpost wiki
Revision as of 22:44, 18 June 2016 by M (talk | contribs)

PSEUDO

load from SQL tables into Major Objects (std::unordered_sets of PersistentIDObjects)

QUOTE EXTRACTION

   APIGetRunLive::handle_call()
       g_p_local->getRunLiveJSON()
           readRunQAB(s_str_db_name...)
           (SAME as readRunLive!!)
   APIGetRunHistory::handle_call()
       g_p_local->getRunHistoryJSON()
           readRunHistory
               readRunQAB

Qt Creator settings

  • Make sure you have already run [atbuild] and [atbuild debug].
  • Open CMakeLists.txt as a Qt Creator project.
  • It will force you to do CMake - pick cmake-release folder and let it go.
  • Rename the build config to debug.
  • Clone it to release and change folder to release.
  • Delete make step and replace it with custom build:
./build.sh
(no args)
%{buildDir}
  • Create run setups:
you have to use hardcoded path to working dir (or leave it blank maybe?): /home/m/development/thedigitalage/AbetterTrader/server
[x] run in terminal
debug args: localhost 8000 test reanalyze (matches attest)
release args: localhost 8080 live (matches atlive)