Cost Basis: hardcoding FIFO for cost basis doesn't allow the user the flexibility of optimizing their taxation. Expanding the capability by adding a costBasis parameter to the function which defaults to FIFO but can handle other parameters such as LIFO or BTAX (Tax Lot Optimized by Schwab) for instance.
Limit_price: when using limit order ( order_type = 50 ), the limit pricing must be formatted a certain way. Adding a piece of code that handles formatting and adds a warning in messages if the format had to be adjusted automatically.
Cost Basis: hardcoding FIFO for cost basis doesn't allow the user the flexibility of optimizing their taxation. Expanding the capability by adding a costBasis parameter to the function which defaults to FIFO but can handle other parameters such as LIFO or BTAX (Tax Lot Optimized by Schwab) for instance.
Limit_price: when using limit order ( order_type = 50 ), the limit pricing must be formatted a certain way. Adding a piece of code that handles formatting and adds a warning in messages if the format had to be adjusted automatically.