瀏覽代碼

Market

- fix: Quote
Alexey Kim 2 周之前
父節點
當前提交
a79df5d2b5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      market.go

+ 1 - 1
market.go

@@ -27,7 +27,7 @@ type Market interface {
 	PortfolioHistory() ([]PortfolioRecord, error)
 
 	HistoricalBars(symbol string, interval time.Duration, from *time.Time) ([]Bar, error)
-	Quote(symbol string) (Quote, error)
+	Quote(symbol string) (*Quote, error)
 
 	Account() (MarketAccount, error)
 	MaxBudget() float64