Would it be possible to program TBB to take entries and exit prices and dates from an external list of trades (e.g. a csv file) rather than generating the trades internally from trade rules.
I would like to test an approach that would involve taking strategies I have for Tradestation, generate lists of trades from tradestation, import them into TB and then do the portfolio and position size testing in TB.
(As tradestation does not seem to be able to output initial stop loss values without a fiar bit of programing, a TB blox would also be coded to generate the inital stop loss value - usually based on some multiple of atr).
This approach would allow me to use the strategies I have for TS, at least until my coding skills improve enough to be able to convert the easylanguage into TB code. I appreciate that I lose the option to optimise strategies in TB (apart from maybe optimising the initial Stop Loss) but would like to test this approach.
importing lists of trades into TB
I imagine it could probably be done, yes. However I think you or someone you hire would need to write new Blox code to accomplish it. I don't think the standard out-of-the-box distribution contains anything that would do it in turnkey fashion. I haven't searched the Blox Marketplace (link) to see whether anybody has donated code to do what you want; maybe you might pop over there to have a quick look.
Blox programmers for hire can be found on the System Development Partners page (here)
Blox programmers for hire can be found on the System Development Partners page (here)
-
- Roundtable Fellow
- Posts: 83
- Joined: Thu Jan 13, 2011 5:33 am
- Location: London
- Contact:
Tradestation to BLOX conversion
Hi there SR100M,
Did you manage to find/create a solution to your query.
I have exactly the same requirement having written a number of systems in EasyLanguage and would love to combine them into a Suite within BLOX. It would be a great time saver to be able to import the trade data into BLOX rather than reprogram them all, especially as some are intra-day (not a BLOX speciality I gather).
If you still need a stop/risk value function for Tradestation I have one that you may find useful.
Warm regards,
Anthony
Did you manage to find/create a solution to your query.
I have exactly the same requirement having written a number of systems in EasyLanguage and would love to combine them into a Suite within BLOX. It would be a great time saver to be able to import the trade data into BLOX rather than reprogram them all, especially as some are intra-day (not a BLOX speciality I gather).
If you still need a stop/risk value function for Tradestation I have one that you may find useful.
Warm regards,
Anthony
-
- Site Admin
- Posts: 9021
- Joined: Tue Apr 06, 2004 1:41 pm
- Location: Boston, MA
- Contact:
-
- Roundtable Knight
- Posts: 2038
- Joined: Wed Oct 06, 2004 10:52 am
- Location: San Marcos, CA
Before performing this comparative platform approach, consider making some trade settings changes in both platforms before you capture the trade detail to compare in Trading Blox.
One of the first changes to make is not use any slippage in TradeStation and to disable it as well in Trading Blox when you generate a comparative test. Slippage in TradeStation is fixed amount deduction, while Trading Blox allows for volatility rate slippage. While it is possible to use a fixed value for slippage, it isn't a static cost.
Review the Global Settings in Trading Blox and be sure you understand how the various settings can affect the comparison.
I would also remove the trade commission. By not allowing anything to affect the net result between entry and exit, the analysis will be much simpler and without the differences in how cost is applied.
Check the data files being used to be sure they are scaled the same. If it is at all possible, use the same data files in both platforms. If the data scales are different, and the transactions aren't adjusted to take the scale difference into account, the net results will be faulty.
When doing your initial comparison, set the trade size in TradeStation to 1 contract or share. In Trading Blox use the Basic Money Manager set to 1 contract or share.
Expect to do an initial comparison, to ensure the size and timing each platform uses is the same. This is important because if sizing is going to be part of the analysis, it is important the trade execution issue be put to rest first.
One of the first changes to make is not use any slippage in TradeStation and to disable it as well in Trading Blox when you generate a comparative test. Slippage in TradeStation is fixed amount deduction, while Trading Blox allows for volatility rate slippage. While it is possible to use a fixed value for slippage, it isn't a static cost.
Review the Global Settings in Trading Blox and be sure you understand how the various settings can affect the comparison.
I would also remove the trade commission. By not allowing anything to affect the net result between entry and exit, the analysis will be much simpler and without the differences in how cost is applied.
Check the data files being used to be sure they are scaled the same. If it is at all possible, use the same data files in both platforms. If the data scales are different, and the transactions aren't adjusted to take the scale difference into account, the net results will be faulty.
When doing your initial comparison, set the trade size in TradeStation to 1 contract or share. In Trading Blox use the Basic Money Manager set to 1 contract or share.
Expect to do an initial comparison, to ensure the size and timing each platform uses is the same. This is important because if sizing is going to be part of the analysis, it is important the trade execution issue be put to rest first.
-
- Roundtable Fellow
- Posts: 83
- Joined: Thu Jan 13, 2011 5:33 am
- Location: London
- Contact:
Pre Test Tests
Hi Roger,
Thanks for your kind recommendations. I'll post my findings as I work on this project...
Thanks for your kind recommendations. I'll post my findings as I work on this project...