stellar-deprecated / kelp

Kelp is a free and open-source trading bot for the Stellar DEX and 100+ centralized exchanges
https://kelpbot.io
Other
1.09k stars 262 forks source link

Critical BUG ⚠️ #746

Closed Fomin2402 closed 2 years ago

Fomin2402 commented 2 years ago

Got error from Kelp bot:

could not get last trade cursor from exchangeShim: error while fetching latest trade cursor in SDEX: json: cannot unmarshal string into Go struct field Price._embedded.records.price.n of type int32

I guess it happens because of stellar horizons updates with breaking changes

The price fraction will represent its numerator and denominator values as strings because they will be 64 bit integers.
syllik commented 2 years ago

Same problem. Checked on Win and Last Mac os builds.

leighmcculloch commented 2 years ago

I think this is a duplicate of #741.