GithubHelp home page GithubHelp logo

ctrader's Introduction

CTrader

CTrader is a personal project, Coinbase Pro trading app, that resulted from the fact that coinbase pro's web interface uses a massive amount of CPU resources. I thought I would try my hand at creating a feature parity application.

It is not finished, so any help is appreciated.

TODO

  • Order Window/System
    • It must keep track of placed orders, using either websocket or REST API
  • Add testing for Websocket class in libCTrader
  • Scale inner windows to outer window's size changes.

Building

This project using the CMake build system as well as the CPM CMake dependency manager. The minimum required CMake version is 3.17.

Linux

A couple dependencies on linux,

  • Cpprestsdk - https://github.com/microsoft/cpprestsdk
  • OpenSSL
  • Boost - Minimum version required is 1.75.0 w/ boost-signals2 The rest of the dependencies will be downloaded automatically, via CPM during the build processes.
git clone --recursive https://github.com/anhydrous99/CTrader
cd CTrader 
mkdir build
cd build
cmake ..
make

MacOS

The required dependencies listed above can be installed via brew then the same build process can be used. XCode is required. It has been tested on an Mac with an M1 chip.

Windows

Installing on windows is a bit more hands on. Visual Studio or Build Tool for Visual studio, w/ the C++ compiler, must be install. I tend to use vcpkg to get the required dependencies, https://github.com/microsoft/vcpkg. A possible build process would be

git clone --recursive https://github.com/microsoft/vcpkg
cd vcpkg
bootstrap-vcpkg.bat
vcpkg.exe install boost:x64-windows boost-signals2:x64-windows cpprestsdk[websockets]:x64-windows curl:x64-windows openssl-windows:x64-windows

vcpkg should build and install the dependencies within the vpckg/installed/x64-windows directory. You can then strap vcpkg to CMake with the cmake script at vcpkg/buildsystems/vcpkg.cmake.

git clone --recursive https://github.com/anhydrous99/CTrader
cd CTrader
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=<path to vcpkg>\vcpkg\scripts\buildsystems\vcpkg.cmake ..
cmake --build . --target CTrader

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.