Stock Trading script/language for .NET?

*爱你&永不变心* 提交于 2020-01-03 02:30:15

问题


Is there a component I can use to create a stock trading/backtesting application in .NET? I am looking for something similar to TradeScript from ModulusFE: http://www.modulusfe.com/tradescript/


回答1:


It's not as easy as the guy above tries to make it sound. You're best to use TradeScript, MQL4, EasyLanguage or even MatLab - there are some back testing add-ons for MatLab. You do NOT want to roll your own. There's a lot more to it than meets the eye.




回答2:


I don't know if I understand you correctly... but you should be able to write a pretty simple back-testing app pretty quickly. You can even do it in Excel...

In any way, there are a couple of things that you need:

  1. Data source (data set).
  2. Trading signals (most likely given on data set).

You buy or sell given each trading signal and at the end you just tally up the profit. It's just a handful of functions: iterate through the data set, make predictions, for each prediction buy or sell, keep track of P&L.



来源:https://stackoverflow.com/questions/3222357/stock-trading-script-language-for-net

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!