add history interface

This commit is contained in:
hackerESQ
2024-09-09 20:50:18 -05:00
parent 23047d976e
commit 3284a31bb1
4 changed files with 62 additions and 0 deletions
@@ -45,4 +45,15 @@ interface MarketDataInterface
* @return Collection
*/
public function splits(String $symbol, \DateTimeInterface $startDate, \DateTimeInterface $endDate): Collection;
/**
* Get historical close data
*
* @param String $symbol
* @param \DateTimeInterface $startDate
* @param \DateTimeInterface $endDate
*
* @return Collection
*/
public function history(String $symbol, \DateTimeInterface $startDate, \DateTimeInterface $endDate): Collection;
}