goanda
goanda copied to clipboard
Fixes for tradeID and dependency updates
Overview: This PR includes fixes to the tradeID properties in orders.go, also includes package updates and a few typo corrections along with an instrument.go update commit I found useful from @shenxu83
Key Changes:
-
Updates in
orders.go:- Added TradeID property to OrderPayload
- Fixed the capitalization on all tradeID properties so they are marshalled and unmarshalled properly
-
Updates in
instrument.go:- Replaced
requestAndUnmarshalwithgetAndUnmarshalfor improved request handling inGetTimeToCandlesandGetTimeFromCandlesfunctions. - This change ensures uniformity in the codebase.
- Replaced
-
General updates
- Updated godotenv to v1.5.1
Files Affected:
-
trade.go -
go.mod -
go.sum -
instrument.go