Skip to content

Commit

Permalink
remove websocket
Browse files Browse the repository at this point in the history
  • Loading branch information
nntaoli committed Mar 6, 2019
1 parent cd0bfc1 commit c181c00
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 726 deletions.
7 changes: 1 addition & 6 deletions bitstamp/Bitstamp.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"sort"
"strconv"
"strings"
"sync"
"time"
)

Expand All @@ -24,10 +23,6 @@ type Bitstamp struct {
clientId,
accessKey,
secretkey string
ws *WsConn
createWsLock sync.Mutex
wsTickerHandleMap map[string]func(*Ticker)
wsDepthHandleMap map[string]func(*Depth)
}

func NewBitstamp(client *http.Client, accessKey, secertkey, clientId string) *Bitstamp {
Expand Down Expand Up @@ -255,7 +250,7 @@ func (bitstamp *Bitstamp) GetOneOrder(orderId string, currency CurrencyPair) (*O
var (
dealAmount float64
tradeAmount float64
fee float64
fee float64
)

currencyStr := strings.ToLower(currency.CurrencyA.Symbol)
Expand Down
110 changes: 0 additions & 110 deletions bitstamp/bitstamp_ws.go

This file was deleted.

18 changes: 0 additions & 18 deletions bitstamp/bitstamp_ws_test.go

This file was deleted.

Loading

0 comments on commit c181c00

Please sign in to comment.