src/api/contract/ind.ts
import SecType from "../data/enum/sec-type";
import { Contract } from "./contract";
/**
* Index contract.
*/
export class Index implements Contract {
constructor(
public symbol: string,
public currency?: string,
public exchange?: string,
) {
this.currency = this.currency ?? "USD";
this.exchange = this.exchange ?? "CME";
}
public secType = SecType.IND;
}
export default Index;