Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ashish kularia #162

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ashishkularia
Copy link

TicketClosed for Task1

fixed following issues:
1) getDataPoint function should return correct tuple of stock name, bid_price, ask_price and price. Note: price of a stock = average of bid and ask
2) getRatio function should return the ratio of the two stock prices
3) main function should output correct stock info, prices and ratio
1) calculatePrice
2) calculatePriceBidGreaterThanAsk
3) calculatePriceAskGreaterThanBid
4) calculateRatioAskPriceZero
5) calculateRatioWhereBidPriceZero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant