robaho / go-trader

financial exchange written in Go, designed for algorithmic trading tests
GNU General Public License v3.0
376 stars 75 forks source link

error to build aglo #5

Closed ankitpatelce closed 4 years ago

ankitpatelce commented 4 years ago

Hello ,

when I run "go build", I have got errors like below. Please look into it. Thanks

Also getting error in test Module

github.com/robaho/go-trader/cmd/algo

./main.go:58:48: cannot use a.entryPrice.Add(a.offset) (type decimal.Decimal) as type fixed.Fixed in argument to price.GreaterThanOrEqual ./main.go:61:52: cannot use a.entryPrice.Sub(a.offset) (type decimal.Decimal) as type fixed.Fixed in argument to price.LessThanOrEqual

robaho commented 4 years ago

should be fixed now - there was more to update for the "fixed" api changes