Skip to content

Commit

Permalink
chore: ⬆️ Updated dependencies, bumped go version
Browse files Browse the repository at this point in the history
Signed-off-by: Alessandro Sanino <[email protected]>
  • Loading branch information
saniales committed Jan 8, 2024
1 parent 217cf51 commit c97840f
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 77 deletions.
2 changes: 1 addition & 1 deletion examples/interval.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ var SlackIntegrationExample = strategies.IntervalStrategy{
},
OnUpdate: func([]exchanges.ExchangeWrapper, []*environment.Market) error {
//if updates has requirements
_, _, err := slackBot.Client().PostMessage("DESIRED-CHANNEL", slack.MsgOptionText("OMG something happening!!!!!", true))
_, _, err := slackBot.APIClient().PostMessage("DESIRED-CHANNEL", slack.MsgOptionText("OMG something happening!!!!!", true))
return err
},
OnError: func(err error) {
Expand Down
44 changes: 23 additions & 21 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,63 +1,65 @@
module github.com/saniales/golang-crypto-trading-bot

go 1.20
go 1.21

require (
github.com/adshao/go-binance/v2 v2.4.1
github.com/beldur/kraken-go-api-client v0.0.0-20210512194559-2c29669c4ecc
github.com/adshao/go-binance/v2 v2.4.5
github.com/beldur/kraken-go-api-client v0.0.0-20230419090603-9d20ca5131b1
github.com/bitfinexcom/bitfinex-api-go v0.0.0-20210608095005-9e0b26f200fb
github.com/bwmarrin/discordgo v0.27.0
github.com/bwmarrin/discordgo v0.27.1
github.com/fatih/structs v1.1.0
github.com/fiore/kucoin-go v0.0.0-20190107105632-5a814c26befa
github.com/gofrs/uuid v4.4.0+incompatible
github.com/juju/errors v1.0.0
github.com/pharrisee/poloniex-api v0.0.0-20200602104112-ce8fafd80b26
github.com/saniales/go-hitbtc v0.0.0-20190107211814-7468d66640dd
github.com/shomali11/slacker v1.3.1
github.com/shomali11/slacker v1.4.1
github.com/shopspring/decimal v1.3.1
github.com/sirupsen/logrus v1.9.0
github.com/slack-go/slack v0.12.1
github.com/spf13/cobra v1.6.1
github.com/sirupsen/logrus v1.9.3
github.com/slack-go/slack v0.12.3
github.com/spf13/cobra v1.8.0
github.com/thebotguys/golang-bittrex-api v0.0.0-20210125125813-27a8629619aa
github.com/toorop/go-bittrex v0.0.5
gopkg.in/tucnak/telebot.v2 v2.5.0
gopkg.in/yaml.v2 v2.4.0
)

require (
github.com/andybalholm/brotli v1.0.5 // indirect
github.com/bitly/go-simplejson v0.5.0 // indirect
github.com/andybalholm/brotli v1.0.6 // indirect
github.com/bitly/go-simplejson v0.5.1 // indirect
github.com/chuckpreslar/emission v0.0.0-20170206194824-a7ddd980baf9 // indirect
github.com/dgrr/fastws v1.0.4 // indirect
github.com/franela/goblin v0.0.0-20211003143422-0a4f594942bf // indirect
github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/gorilla/websocket v1.5.1 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jpillora/backoff v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88 // indirect
github.com/k0kubun/pp v3.0.1+incompatible // indirect
github.com/klauspost/compress v1.16.0 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/onsi/gomega v1.27.1 // indirect
github.com/onsi/gomega v1.30.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/recws-org/recws v1.4.0 // indirect
github.com/shomali11/commander v0.0.0-20220716022157-b5248c76541a // indirect
github.com/robfig/cron v1.2.0 // indirect
github.com/shomali11/commander v0.0.0-20230730023802-0b64f620037d // indirect
github.com/shomali11/proper v0.0.0-20190608032528-6e70a05688e7 // indirect
github.com/smartystreets/goconvey v1.7.2 // indirect
github.com/smartystreets/goconvey v1.8.1 // indirect
github.com/sourcegraph/jsonrpc2 v0.2.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/streamrail/concurrent-map v0.0.0-20160823150647-8bf1e9bacbf6 // indirect
github.com/thebotguys/signalr v0.0.0-20190119054324-787ebe6729fc // indirect
github.com/ugorji/go/codec v1.2.10 // indirect
github.com/ugorji/go/codec v1.2.12 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasthttp v1.44.0 // indirect
golang.org/x/crypto v0.6.0 // indirect
golang.org/x/sys v0.5.0 // indirect
github.com/valyala/fasthttp v1.51.0 // indirect
golang.org/x/crypto v0.17.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/sys v0.16.0 // indirect
gopkg.in/beatgammit/turnpike.v2 v2.0.0-20170911161258-573f579df7ee // indirect
)
Loading

0 comments on commit c97840f

Please sign in to comment.