Skip to content
Cosmos is an electronic platform for trading commodities
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client
external
inc
notes
obj
src
test
.gitignore
.gitmodules
.travis.yml
CMakeLists.txt
README.md
README.txt

README.md

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
You can’t perform that action at this time.