goanda icon indicating copy to clipboard operation
goanda copied to clipboard

Fixes for tradeID and dependency updates

Open jSydorowicz21 opened this issue 1 year ago • 0 comments

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:

  1. Updates in orders.go:

    • Added TradeID property to OrderPayload
    • Fixed the capitalization on all tradeID properties so they are marshalled and unmarshalled properly
  2. Updates in instrument.go:

    • Replaced requestAndUnmarshal with getAndUnmarshal for improved request handling in GetTimeToCandles and GetTimeFromCandles functions.
    • This change ensures uniformity in the codebase.
  3. General updates

  • Updated godotenv to v1.5.1

Files Affected:

  • trade.go
  • go.mod
  • go.sum
  • instrument.go

jSydorowicz21 avatar Jul 26 '24 01:07 jSydorowicz21