{"id":20537915,"url":"https://github.com/dmjio/bittrex","last_synced_at":"2025-05-09T13:31:09.679Z","repository":{"id":62435622,"uuid":"114602133","full_name":"dmjio/bittrex","owner":"dmjio","description":":money_with_wings: Haskell bindings to the Bittrex cryptocurrency exchange","archived":true,"fork":false,"pushed_at":"2024-12-14T01:04:47.000Z","size":70,"stargazers_count":23,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-26T10:04:17.671Z","etag":null,"topics":["bittrex","bittrex-exchange","cryptocoins","cryptocurrency","haskell"],"latest_commit_sha":null,"homepage":"http://hackage.haskell.org/package/bittrex","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmjio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-18T06:06:38.000Z","updated_at":"2024-12-14T01:05:07.000Z","dependencies_parsed_at":"2022-11-01T21:30:33.763Z","dependency_job_id":null,"html_url":"https://github.com/dmjio/bittrex","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmjio%2Fbittrex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmjio%2Fbittrex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmjio%2Fbittrex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmjio%2Fbittrex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmjio","download_url":"https://codeload.github.com/dmjio/bittrex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250990596,"owners_count":21519119,"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":["bittrex","bittrex-exchange","cryptocoins","cryptocurrency","haskell"],"created_at":"2024-11-16T00:43:25.484Z","updated_at":"2025-05-09T13:31:09.370Z","avatar_url":"https://github.com/dmjio.png","language":"Haskell","readme":"bittrex\n==============================\n![Hackage](https://img.shields.io/hackage/v/bittrex.svg)\n![Haskell Programming Language](https://img.shields.io/badge/language-Haskell-blue.svg)\n![BSD3 License](http://img.shields.io/badge/license-BSD3-brightgreen.svg)\n[![Build Status](https://travis-ci.org/dmjio/bittrex.svg?branch=master)](https://travis-ci.org/dmjio/bittrex)\n\n## About\n\nHaskell bindings to the [Bittrex](https://bittrex.com/) cryptocurrency exchange.\n\n## Usage\n\n```haskell\nmodule Main where\n\nimport           Bittrex\nimport           Control.Monad\nimport           Data.Text     (Text)\nimport qualified Data.Text.IO  as T\n\nmain :: IO ()\nmain = do\n  [api,secret] \u003c- lines \u003c$\u003e readFile \"/Users/david/.bittrex\"\n  let keys = APIKeys api secret\n\n  -- Public Usage\n  putStrLn \"Markets\"\n  Right ms \u003c- getMarkets\n  forM_ ms (print . marketName)\n\n  putStrLn \"Currencies\"\n  Right cs \u003c- getCurrencies\n  mapM_ print cs\n\n  putStrLn \"Ticker for BTC-DOGE market\"\n  t \u003c- getTicker (MarketName BTC_DOGE)\n  print t\n\n  putStrLn \"Summary of BTC-DOGE market\"\n  Right t \u003c- getMarketSummary (MarketName BTC_DOGE)\n  print t\n\n  putStrLn \"Get market summaries\"\n  Right t \u003c- getMarketSummaries\n  print t\n\n  putStrLn \"Order book sells for for BTC-DOGE market\"\n  book \u003c- getOrderBookSells (MarketName BTC_DOGE)\n  print book\n\n  putStrLn \"Order book buys for for BTC-DOGE market\"\n  book \u003c- getOrderBookBuys (MarketName BTC_DOGE)\n  print book\n\n  putStrLn \"Market history for BTC-DOGE\"\n  Right history \u003c- getMarketHistory (MarketName BTC_DOGE)\n  forM_ history print\n\n  -- Market usage\n  putStrLn \"Retrieve your open orders\"\n  Right openOrders \u003c- getOpenOrders keys (MarketName BTC_DOGE)\n  forM_ openOrders print\n\n  -- Account usage,\n  putStrLn \"Check your balances (for all currencies)\"\n  Right balances \u003c- getBalances keys\n  forM_ balances print\n```\n\n## License\n\n[BSD3](LICENSE) © David Johnson\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmjio%2Fbittrex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmjio%2Fbittrex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmjio%2Fbittrex/lists"}