Skip to content

gabeochoa/Cosmos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CosMoS is an electronic platform for trading commodities[1] Build Status GitHub release Coverage Status

Description

Cosmos is focused on making it easy to find and trade commodities.


When it comes to commodities, only financial experts and professionals can participate. Cosmos is changing that, by allowing anyone to trade in this trillion dollar industry.

Commodities date back to ancient Sumer.

Trade wasn't complicated back then, and it shouldn't be now.

####Cosmos is here to fix that.

[1] This program was built as a warmup exercise for Bloomberg's FT Training Program. ie. not real

Build/Run

#To Compile and Run the Base Program
mkdir build
cd build
cmake ..
make
./cms base < ../notes/test2.txt

#Run tests
./unit_tests

#Cleanup
cd ..
rm -rf build
#To Run Extention 1/2
./cms ext1 [port-num]

or

./cms ext2 [port-num]

In another shell

cd ../client
make
./client localhost [port-num] < ../notes/test2.txt

File Layout

  • build/
    • will contains main exec and test exec
  • client/
    • contains sample client application
  • ext/
    • git clone of gtest
  • inc/
    • all .hpp's
  • notes/
    • Contains notes and basic tests
  • obj/
    • should be empty, contains .o's
  • src/
    • contains code for 'server' application