Resolve "Create universal interface for exchange data" #22

Merged
clbertolini merged 8 commits from 3-create-universal-interface-for-exchange-data into main 2023-10-06 20:51:41 +00:00
2 changed files with 4 additions and 5 deletions
Showing only changes of commit 597a87ba55 - Show all commits

View File

@ -1,5 +0,0 @@
import { Portfolio } from "./portfolio";
export interface Account {
fetchPortfolio: () => Portfolio;
}

View File

@ -29,3 +29,7 @@ export class Portfolio {
this.positions = positions;
}
}
export interface PortfolioProvider {
readonly fetchPortfolio: () => Promise<Portfolio>;
}