Skip to content

Commit

Permalink
Add sort parameter and re-add historical crypto quotes (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnvk authored Aug 31, 2023
1 parent 5bbc587 commit 8187a4e
Show file tree
Hide file tree
Showing 4 changed files with 476 additions and 153 deletions.
5 changes: 5 additions & 0 deletions marketdata/entities.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,11 @@ type cryptoMultiTradeResponse struct {
Trades map[string][]CryptoTrade `json:"trades"`
}

type cryptoMultiQuoteResponse struct {
NextPageToken *string `json:"next_page_token"`
Quotes map[string][]CryptoQuote `json:"quotes"`
}

type cryptoMultiBarResponse struct {
NextPageToken *string `json:"next_page_token"`
Bars map[string][]CryptoBar `json:"bars"`
Expand Down
Loading

0 comments on commit 8187a4e

Please sign in to comment.