New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/jxc6698/bitcoin-exchange-api

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/jxc6698/bitcoin-exchange-api

  • v0.0.0-20170408060307-057132d9c4cf
  • Source
  • Go
  • Socket score

Version published
Created
Source

Description

This repository is bitcoin trade library written by Golang and currently support part of bitmex api.

The websocket part is changed from https://github.com/santacruz123/bitmex-go, I have added restart machenism to help recover from disconnected websocket connections.

restfulApi part use a lot of structures in github.com/BitMEX/api-connectors.git

Installation

go get github.com/jxc6698/bitcoin-exchange-api

Usage

You can look at test/bitmex_test.go

Testing

add your apikey and secretkey in path

  export BITMEX_API_KEY="api-key"
  export BITMEX_API_SECRET="api-secret"
run all testcases
  go test test/bitmex_test.go
run a specific testcase
  go test --run Test_restfulapi_bulk test/bitmex_test.go

LICENCE

MIT LICENCE


Thanks

FAQs

Package last updated on 08 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc