import { PercentageOutOfOne } from '../types'; /** * Manually inputted trading fee schedule location in config (portfolios.trading_fees.exchange_name). * Loop through the list in reverse key order. Once you encounter a key larger than the input, that is * the fee percentage to pay. */ export interface TradingFeeSchedule { /** Mapping of whole number price to percentage out of one, in order. */ [priceWholeNumber: number]: PercentageOutOfOne; }