What’s new in version 3.2? New features A vertical view of the instruments panel has been added called Charts view Fancy new splash screen 🙂 Import modules Degiro importer Westpac importer Light Speed importer Interactive Brokers importer update due to cash transaction format change Bug fixes Fixed Gantt chart save issue Fixed layout restore problems […]
Margin requirements for futures and futures options are established by each exchange through a calculation algorithm known as SPAN margining. SPAN (Standard Portfolio Analysis of Risk) evaluates overall portfolio risk by calculating the worst possible loss that a portfolio of derivative and physical instruments might reasonably incur over a specified time period (typically one trading day.) This is done by computing the gains and losses that the portfolio would incur under different market conditions. The most important part of the SPAN methodology is the SPAN risk array, a set of numeric values that indicate how a particular contract will gain or lose value under various conditions. Each condition is called a risk scenario. The numeric value for each risk scenario represents the gain or loss that that particular contract will experience for a particular combination of price (or underlying price) change, volatility change, and decrease in time to expiration.
76% of retail accounts lose money when trading CFDs with this provider. CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. 76% of retail investor accounts lose money when trading CFDs with this provider. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money.
The FxPro Margin Calculator works out exactly how much margin is required in order to guarantee a position that you would like to open. This helps you determine whether you should reduce the lot size you are trading, or adjust the leverage you are using, taking into account your account balance. Select your trading instrument, your trade size, leverage and account currency, and click ‘Calculate’. Our Margin Calculator will do the rest.
In particular I would like to make the system a lot faster, since it will allow parameter searches to be carried out in a reasonable time. While Python is a great tool, it's one drawback is that it is relatively slow when compared to C/C++. Hence I will be carrying out a lot of profiling to try and improve the execution speed of both the backtest and the performance calculations.