Giter Site home page Giter Site logo

fordhamfrtb's Introduction

Fordham FRTB Project

Documentation v1.1 4th July 2019

Running the system

Creating an ngrok account

  1. Go to ngrok website and create a free acount.
  2. Access your dashboard and save or take note of your token defined in the box labelled 3.
  3. Check in the dashboard the status of current connections.

We are going to use ngrok to allow your program to be visible from the outside world. Usually when you run something on your computer it is protected from being accessible from anywhere around.

Starting the project

First let's construct the images that we are going to need to test the system. For this we will go to the project directory and execute:

docker-compose build

When done the images should be ready. Simply run

docker-compose up

To start your system.

When you want to shutdown press Ctrl+C on your keyboard.

Web Server Methods

Endpoint accessible on your web server on port 5000

Excercise to do

Create the financial library

Implement the def compute() method in the financial.py file in your flask app

Be carfeful the file must give back a csv string that look like the following PK indicute the primary key, unique identifier for the row The second line is the type could be string or double

Column1:PK column 2 column 3
string string double
A1 B1 12
A2 B2 24

In a python string this would look like:

csvOutput = "Column1:PL;Column2;Column3\nstring;string;double\nA1;B1;12\nA2;B2;24"

Please note the usage of \n for return to next line and ; as a separator.

Configuration

All configuration paramaters are available in config.py file including:

  • Name of the report you want to create for UXP
  • Endpoint you are using for connectivity

fordhamfrtb's People

Watchers

 avatar

Forkers

karagul

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.