Skip to content

rhinofi/coding_challenge_cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Deversifi C++ Coding challenge

This repo contains the single header starting point for the C++ coding challenge.

Rather than request participants to spend time setting up a project from scratch complete with libraries for performing REST requests and serialising JSON, the DvfSimulator class provides a simplified trading API with a radically simplified approximation of how an exchange might operate.

#include "DvfSimulator.h"

int main()
{
    auto* sim = DvfSimulator::Create();
    
    auto ob = sim->GetOrderBook();
    
    // ... decide price and amount
    sim->PlaceOrder(price, amount);
    sim->CancelOrder(oid);

    return true;
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages