{"id":17197699,"url":"https://github.com/dmcg/credit-suisse","last_synced_at":"2025-03-25T08:40:50.318Z","repository":{"id":147288939,"uuid":"303391124","full_name":"dmcg/credit-suisse","owner":"dmcg","description":null,"archived":false,"fork":false,"pushed_at":"2020-10-12T12:55:44.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T07:44:49.221Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmcg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-12T12:52:13.000Z","updated_at":"2020-10-12T12:55:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a6019a3-a060-4a37-81b8-4cc597330a02","html_url":"https://github.com/dmcg/credit-suisse","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmcg%2Fcredit-suisse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmcg%2Fcredit-suisse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmcg%2Fcredit-suisse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmcg%2Fcredit-suisse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmcg","download_url":"https://codeload.github.com/dmcg/credit-suisse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245431643,"owners_count":20614181,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T01:57:06.353Z","updated_at":"2025-03-25T08:40:50.295Z","avatar_url":"https://github.com/dmcg.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NOTES TAKEN WHILE DOING THE EXERCISE\n\n## UNCLEAR FROM THE SPEC\n\n* Are we shipping a program or a library? \n* Top 10 buy OR sells or buy AND sells?\n* There is a record of the market with all the trades?\n* Can cancelling an order remove it if it wasn't in the top 10?\n* What does live orders mean?  \n* What about the missing coin types in the example?\n* Should BUYs be netted against SELLs?\n* What does registered mean?\n* Can I cancel an order that is not on the board?\n* Should the board show only one coin type or all?\n\n## ASSUMPTIONS MADE \n\nI've made the following assumptions in order to get this ticket started.\n\n* The board has a mode, so buy or sell but not both on the same board.\n* Show only one coin type on each board. This made sense when I started from a UX perspsective, but I'm questioning it now. It would be very easy to change.\n* We have a source of live orders, whatever live means.\n* The source of orders has orders that are not necessarily on the board.\n* We're going to ignore cancelling an order for now, because we don't know how to interpret it\n* Not multicurrency for prices\n* Top 10 means the top 10 lines on the board, not the top ten orders\n\n# PROGRESS\n\nThe code here was a couple of hours work, proper TDD. I think that it's probably the sweet spot where I've a proof of concept and have worked through some of the issues, but won't have to rework potentially hard things when the ambiguities and assumptions are cleared up.\n\nSo I guess I'm saying is the point at which I'd go back to a BA and say - \"Is this what you meant?\" and we could chat about all those questions that maybe should have been answered before I started work.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmcg%2Fcredit-suisse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmcg%2Fcredit-suisse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmcg%2Fcredit-suisse/lists"}