bitfinexcom / bitfinex-api-go

BITFINEX Go trading API - Bitcoin, Litecoin, and Ether exchange
https://www.bitfinex.com/
MIT License
309 stars 220 forks source link

the first example gives error when rendering #80

Open uncentral opened 6 years ago

uncentral commented 6 years ago

./main.go:26:67: undefined: bitfinex.ORDER_TYPE_EXCHANGE_LIMIT

it's because it should be OrderTypeExchangeLimit without underscores ./main.go:26:67: undefined: bitfinex.OrderTypeExchangeLimit

best to adapt it everywhere in the examples