Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
f0cii committed Apr 20, 2020
1 parent 9d3dceb commit c1b5a9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exchanges/exchange.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ func NewExchange(name string, opts ...ApiOption) Exchange {
opt(params)
}

return NewFromParameters(name, params)
return NewExchangeFromParameters(name, params)
}

func NewFromParameters(name string, params *Parameters) Exchange {
func NewExchangeFromParameters(name string, params *Parameters) Exchange {
switch name {
case BinanceFutures:
return binancefutures.NewBinanceFutures(params)
Expand Down

0 comments on commit c1b5a9e

Please sign in to comment.