{"id":17286205,"url":"https://github.com/kamiyaa/janestreet-rs","last_synced_at":"2026-01-30T04:11:04.367Z","repository":{"id":104241286,"uuid":"191263320","full_name":"kamiyaa/JaneStreet-rs","owner":"kamiyaa","description":"A Rust wrapper around Jane Street's Trading Bot Competition","archived":false,"fork":false,"pushed_at":"2019-08-13T19:55:01.000Z","size":6,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T10:50:18.452Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/kamiyaa.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,"zenodo":null}},"created_at":"2019-06-11T00:13:51.000Z","updated_at":"2024-07-24T05:43:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"d400057c-b7fa-4ee9-8c7d-daba5b3782b9","html_url":"https://github.com/kamiyaa/JaneStreet-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kamiyaa/JaneStreet-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamiyaa%2FJaneStreet-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamiyaa%2FJaneStreet-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamiyaa%2FJaneStreet-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamiyaa%2FJaneStreet-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kamiyaa","download_url":"https://codeload.github.com/kamiyaa/JaneStreet-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamiyaa%2FJaneStreet-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28900980,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T04:02:34.702Z","status":"ssl_error","status_checked_at":"2026-01-30T04:02:33.562Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-15T09:58:42.198Z","updated_at":"2026-01-30T04:11:04.360Z","avatar_url":"https://github.com/kamiyaa.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JaneStreetBot\n\nThis is a repository that tries to provide Rust starter code for\nJane Street's Trading Bot competition.\n\n## Usage\n\nYou will mostly be interacting with `read_from_exchange`, `write_to_exchange`\nand `JaneStJson`.\n\n - `connect()` establishes a TCP connection to the server\n - `say_hello()` sends the server some initial information (e.g. team name etc.)\n   and returns a `PortFolio` struct that describes how many of each security your team\n   currently owns\n - `read_from_exchange()` reads a line from the server and converts it into a generic\n   `JaneStJson` struct\n - `write_to_exchange()` takes in a generic `JaneStJson` struct and writes it to the server\n - `JaneStJson` is a generic struct that accommodates for all the data the server may\n   potentially provide. This means many fields may be empty (e.g. 0-value, empty string, etc.).\n   Please check `_type` field to make sure exactly which fields will be non-empty\n - `PortFolio` is a hashmap that maps symbols to i32 `String -\u003e i32`\n\n## Examples\n```rust\nfn run() -\u003e std::io::Result\u003c()\u003e {\n    let mut conn = connect()?;\n    let mut portfolio = say_hello(\u0026mut conn)?;\n    match read_from_exchange(\u0026mut conn) {\n        Ok(json) =\u003e println!(\"{:#?}\", json),\n        Err(e) =\u003e println!(\"error reading from connection: {}\", e),\n    }\n    Ok(())\n}\n\nfn main() {\n    run();\n}\n```\nsee [main.rs](https://github.com/kamiyaa/JaneStreet-rs/blob/master/src/main.rs) for more details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkamiyaa%2Fjanestreet-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkamiyaa%2Fjanestreet-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkamiyaa%2Fjanestreet-rs/lists"}