Git Product home page Git Product logo

cs261-coursework-backend's People

Contributors

05hazza06 avatar jdjfisher avatar lirwin3007 avatar nharikrishnan22 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cs261-coursework-backend's Issues

Company codes

Just a question:
What are we going to display on the front end for companies? At the minute the company code is passed through - do we want to display this, or would we want to use this to look up the company name and display that instead.

Or even display both like:
image

Currency symbols

Would it be possible to have currency symbols passed through along with the currency code?

For example, in derivative-management/get-derivative, we pass back

{
  "derivative": {
    ...
    "currency_code": "USD",
    ...
  }
}

Would we be able to pass back:

{
  "derivative": {
    ...
    "currency_code": "USD",
    "currency_symbol": "$"
    ...
  }
}

This would just make it easier for me to display in the front end ๐Ÿ˜„

Strike price currency

Quick question - what currency is the strike price in? The notional currency, or the underlying currency?

Index reports response format

Please could we pass back the reports keyed by date. This is so that I know where to display them whilst they are loading ๐Ÿ˜ƒ

It would be good to be in a format similar to this:

{
    "2020-01-01": [
        1,
        2
    ],
    "2020-01-02": [
        3
    ]
}

Index reports endpoint

Any chance we could adjust the index reports endpoint so we passing the date through GET parameters instead of in the URL?
There's nothing particularly wrong with passing it through the URL, but it can mess a bit with some browsers caching.

An example of using get parameters is in @jdjfisher's index-derivatives:

@DerivativeBlueprint.route('/index-derivatives')
def indexDerivatives():
    # Retreive form
    form_dict = request.form.to_dict()

    # Determine page parameters
    page_size = form_dict.get('page_size') or 15
    page_number = form_dict.get('page_number') or 0

Which would result in a request similar to /index-derivatives?page_size=10&page_number=1

Validation

Two new branches have been created, validation and validate. What's happening here? We need to sort this out.

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.