Skip to content

Commit

Permalink
fix FundPositions and StockPositions params (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick0308 authored May 20, 2024
1 parent 9f98d58 commit e49ba74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trade/request_values.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (r *GetStockPositions) Values() url.Values {
}
vals := url.Values{}
for _, s := range r.Symbols {
vals.Add("symbols", string(s))
vals.Add("symbol", string(s))
}
return vals
}
Expand All @@ -73,7 +73,7 @@ func (r *GetFundPositions) Values() url.Values {
}
vals := url.Values{}
for _, s := range r.Symbols {
vals.Add("symbols", string(s))
vals.Add("symbol", string(s))
}
return vals
}
Expand Down

0 comments on commit e49ba74

Please sign in to comment.