{"id":15409923,"url":"https://github.com/havendv/moexiis","last_synced_at":"2025-10-15T03:32:50.668Z","repository":{"id":98540894,"uuid":"486531503","full_name":"HavenDV/MoexIIS","owner":"HavenDV","description":"C# client library and OpenAPI spec for Moex IIS","archived":false,"fork":false,"pushed_at":"2023-11-22T03:49:03.000Z","size":653,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-04T01:54:09.508Z","etag":null,"topics":["client","csharp","iis","moex","net5","net6","netcore","netstandard","openapi","rest","swagger"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HavenDV.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"patreon":"havendv","ko_fi":"havendv","custom":["https://www.paypal.me/havendv","https://www.buymeacoffee.com/havendv","https://www.upwork.com/freelancers/~017b1ad6f6af9cc189"]}},"created_at":"2022-04-28T09:37:14.000Z","updated_at":"2024-02-07T06:06:40.000Z","dependencies_parsed_at":"2024-10-19T16:24:33.320Z","dependency_job_id":null,"html_url":"https://github.com/HavenDV/MoexIIS","commit_stats":{"total_commits":9,"total_committers":2,"mean_commits":4.5,"dds":"0.11111111111111116","last_synced_commit":"cc8a282f6e1e7230b7f259f377c215ecb73cb3a0"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/HavenDV/MoexIIS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2FMoexIIS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2FMoexIIS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2FMoexIIS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2FMoexIIS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HavenDV","download_url":"https://codeload.github.com/HavenDV/MoexIIS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2FMoexIIS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279043199,"owners_count":26091400,"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","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["client","csharp","iis","moex","net5","net6","netcore","netstandard","openapi","rest","swagger"],"created_at":"2024-10-01T16:41:57.109Z","updated_at":"2025-10-15T03:32:50.653Z","avatar_url":"https://github.com/HavenDV.png","language":"C#","funding_links":["https://patreon.com/havendv","https://ko-fi.com/havendv","https://www.paypal.me/havendv","https://www.buymeacoffee.com/havendv","https://www.upwork.com/freelancers/~017b1ad6f6af9cc189"],"categories":[],"sub_categories":[],"readme":"# MoexIIS\nC# client library and OpenAPI spec for Moex IIS\n\n## Nuget\n\n[![NuGet](https://img.shields.io/nuget/dt/MoexIIS.svg?style=flat-square\u0026label=MoexIIS)](https://www.nuget.org/packages/MoexIIS/)\n```\nInstall-Package MoexIIS\n```\n\n## Usage\n\n```cs\nusing MoexIIS;\n\nusing var client = new HttpClient();\nvar api = new MoexIISApi(client);\n\nawait api.AuthenticateAsync(username, password);\n\nvar values = await api.GetOpenPositionsOnFuturesAsync(\"si\", iss_json: \"extended\", iss_meta: \"off\");\nvar positions = values.ElementAt(1).Futoi ?? throw new InvalidOperationException(\"Futoi is null.\");\nvar yur = positions.ElementAt(0);\nvar fiz = positions.ElementAt(1);\nvar dates = values.ElementAt(1).FutoiDates ?? throw new InvalidOperationException(\"FutoiDates is null.\");\nvar from = dates.ElementAt(0).From;\nvar till = dates.ElementAt(0).Till;\n\nConsole.WriteLine($\"Open positions: {from}-{till}\");\nConsole.WriteLine($\"Time: {yur.Tradetime}. Group: {yur.Clgroup}. Longs: {yur.Pos_long}/{yur.Pos_long_num}. Shorts: {-yur.Pos_short}/{yur.Pos_short_num}\");\nConsole.WriteLine($\"Time: {fiz.Tradetime}. Group: {fiz.Clgroup}. Longs: {fiz.Pos_long}/{fiz.Pos_long_num}. Shorts: {-fiz.Pos_short}/{fiz.Pos_short_num}\");\n```\n\n## Contacts\n* [mail](mailto:havendv@gmail.com)\n\n## Links\nInitial OpenAPI spec from:  \nhttps://github.com/Klawru/MoexApiSwagger","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhavendv%2Fmoexiis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhavendv%2Fmoexiis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhavendv%2Fmoexiis/lists"}