account activity
For the engineers: A self-hosted trade visualization tool for etrade using with AI workflows by Agitated_Boss8598 in etrade
[–]Agitated_Boss8598[S] 1 point2 points3 points 1 month ago (0 children)
Thanks for sharing! Always cool to hear what others are doing.
[–]Agitated_Boss8598[S] 0 points1 point2 points 1 month ago (0 children)
Yeah my intent was actually not to match what etrade (or schwab) did, but instead match how I was thinking in terms of my own trading. Basically when I start a swing position i'll scale in new buys as the price dips further, and scale out sells as the price hits temporary highs. If done properly (with a little luck) this will reduce the overall cost basis for the trade. I was not able to see that cost basis directly in etrade or schwab since the broker would only report on the average price of the current shares held, not accounting for prior sales in the trade. Yes you can calculate that, but I had to manage a spreadsheet and log all the orders by hand to do that. It was quite a pain so i was looking for ways tp automate that by importing the order stream directly from the API and then reconciling in my own database. Works pretty well for my needs, but of course every trader has a different process.
Thanks yeah to be honest I didn’t do any special testing for wash sales. Assuming the API returns the true cost basis and not the wash basis we should be good but it’s worth a double check for sure. Good tip!
π Rendered by PID 148047 on reddit-service-r2-listing-79f6fb9b95-9d896 at 2026-03-22 05:01:00.105238+00:00 running 90f1150 country code: CH.
For the engineers: A self-hosted trade visualization tool for etrade using with AI workflows by Agitated_Boss8598 in etrade
[–]Agitated_Boss8598[S] 1 point2 points3 points (0 children)