cs261-coursework-backend's People
cs261-coursework-backend's Issues
Company codes
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?
Add Sphinx docs
Index derivatives pagination
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.