Comments (5)
This will involve:
- Change the descriptions of each of the individual closed positions in the list. Instead of displaying the ticker name, we would display the description of the closed leg.
- Maybe something like -2 Jan19 170 PUT, or -2 Jan 19, 2024 170 PUT, or -2 170P 2024-01-19, or similar.
- Change the bottom tab name from "Closed Trades" to "Closed Positions".
from tradetracker.
The logic in the program is that as long as a trade is open, it is not counted as a "closed trade". So, for example, if you have an original trade set up as a 100 shares purchased and then sell 20, then the trade is still open with 80 shares remaining.
Looks like this approach does not work well for "Trades" that have revolving purchases and sales that result in a trade never being closed. Kind of like the Wheel Strategy with Options - the trade could conceivably stay open forever.
Looks like another area that I will have to change in order to recognize revenue whenever a leg is fully closed rather than the trade itself.
from tradetracker.
This is now partially implemented (for AVERAGE COST only) Work still needs to be done when FIFO COST is being used. It looks like that this functionality will only be available to stock/futures rather than options. I attempted to implement for options but there are several roadblocks that I could not overcome.
from tradetracker.
A lot of work done on implementing FIFO COSTING. Should now be feature complete. Testing remains.
from tradetracker.
This is implemented for SHARES and FUTURES trades but not for individual OPTIONS trades (due to technical reasons).
from tradetracker.
Related Issues (18)
- Option Assignment assigns ALL contracts - need to allow partial assignment (workaround) HOT 1
- Activate negative order fee in Trade Management HOT 3
- Could not save configuration file at first start HOT 3
- Trade duration incorrect after editing HOT 6
- Missing Description when adding Option to Trade HOT 7
- Open leg is missing after deleting the closing trade HOT 1
- Adjust existing position with newly entered position when "Add options to Trade" is used. HOT 4
- Missing data for trade details HOT 76
- TWS cannot be disconnected HOT 20
- Window opens on a different monitor HOT 3
- Add FIFO Method HOT 17
- Add stock split to management window of shares
- Change the date when a leg expires HOT 3
- Yahoo scraped data with Options data HOT 1
- Add Ticker in Other Income Expense HOT 4
- P/L on futures only positions and total P/L by category HOT 11
- Dealing with margin accounts.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tradetracker.