Resolve "Create universal interface for exchange data" #22
@ -1,5 +0,0 @@
|
||||
import { Portfolio } from "./portfolio";
|
||||
|
||||
export interface Account {
|
||||
fetchPortfolio: () => Portfolio;
|
||||
}
|
@ -29,3 +29,7 @@ export class Portfolio {
|
||||
this.positions = positions;
|
||||
}
|
||||
}
|
||||
|
||||
export interface PortfolioProvider {
|
||||
readonly fetchPortfolio: () => Promise<Portfolio>;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user