| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() | Capital Progression Calculation in Perl I wrote a small script to help me calculate capital progression, it's written in perl and has no user interface so most of you guys won't be able to use it. It's based on the idea that you know your average gain per contract per day. Number of contracts is determined by dividing your account balance by an minimum amount you require to have for a contract. Contracts will be added once you have enough capital. Monthly capital outtakes and taxes are also taken into account. It's very simplified and most winning trader's progression will not be as linear as this script assumes. Consistency is for many people a problem. For a low amount of contracts though it could be accurate if the input matches the reality. The results are kinda interesting, dunno though if all of the formulas are correct. Cheers | ||
| |
|
| | #2 | ||
| Re: Capital Progression Calculation in Perl What software do I need to open this file?
__________________ | |||
| |
|
| | #3 | ||
![]() | Re: Capital Progression Calculation in Perl For windows you'd need to install perl but that would be a waste for just running my little script. I just use perl for quick hacks, can put something together very quickly. Cheers | ||
| |
|
| | #4 | ||
![]() | Re: Capital Progression Calculation in Perl | ||
| |
|
| | #5 | |||
![]() | Re: Capital Progression Calculation in Perl .Here is the script converted to exe. works like this: Quote:
Quote:
after we'd be gained 5000 lots, we'd like to start taking 2000 out of our account on a monthly basis after 180 days. additionally we're paying 10% tax, and tax calculation starts from trading day 0. result would be this: Quote:
It's purely hypothetical but kinda fun Last edited by Sparrow; 03-07-2008 at 09:53 AM. | |||
| |
|
![]() |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Thought Progression Exercise | MrPaul | Trading Psychology | 2 | 02-01-2007 03:11 AM |
| Learning To Protect Your Capital | Soultrader | Money Management | 1 | 01-28-2007 06:39 PM |
| Capital is King | Soultrader | Trading Psychology | 0 | 09-05-2006 07:08 AM |