找回密码
 注册
搜索
楼主: 九天

[百家杂谈] 计算机辅助技术4,炒股编程讨论

[复制链接]
发表于 2012-7-15 09:22 AM | 显示全部楼层


Copy comments from someone else on this topic, for reference only:

If you are rich enough and make money, there will be special someone as your counterpart to take care of your trading. That is the reason why program trading can not make big money when use real money. that is my guess.


If he/she is right, I think so, then relative small investor may do program trading, since nobody really cares about your trade. We still need to be cautious any way.

点评

Would you like about Registration to Automated Trading Championship 2012? jamesmith and I are going to take part since last week.  发表于 2012-9-10 08:17 AM
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2012-7-17 09:19 AM | 显示全部楼层
wsjboy 发表于 2012-7-15 10:22 AM
Copy comments from someone else on this topic, for reference only:

Yes, You are right. I think a relative small investor may do program
trading too, since nobody really cares about our trade.

在稳定性方面,ABERRATION TRADING SYSTEM 比较好,从1980年到2012年,好像增值18倍。
该系统同时对 SP500, EURUSD, Oil, Bond, Corn, Sugar, 。。。。。。等8个不相关的证卷进行交易,
可能是比较好的思路,也在长期实际交易中获得证明成功。

可是,只有大公司才有人力进行ABERRATION TRADING,一般小散可能懂不了那么多。
回复 鲜花 鸡蛋

使用道具 举报

发表于 2012-7-20 02:30 PM | 显示全部楼层
回复 鲜花 鸡蛋

使用道具 举报

发表于 2012-7-20 02:39 PM | 显示全部楼层


等哪天能稳定赚钱一年了,就把那个程序卖给我,只要1年前的,updated的不要。

回复 鲜花 鸡蛋

使用道具 举报

发表于 2012-9-7 07:31 AM | 显示全部楼层
I am a software engineer (for now at least...) -_-
However  don't know much about programmed trading though. Does MT4 stands for MetaTrader? I looked at its website, does it only support forex trading?
回复 鲜花 鸡蛋

使用道具 举报

发表于 2012-9-7 07:32 AM | 显示全部楼层
lol, just noticed I replied to this post months ago...
I found out the competition by searching online. I am curious, did you enter the contest? http://championship.mql5.com/
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2012-9-7 10:27 AM | 显示全部楼层
jamesmith 发表于 2012-9-7 07:32 AM
lol, just noticed I replied to this post months ago...
I found out the competition by searching onl ...


jamesmith 兄,先说对不起,原来没有想参加这个 MT5 比赛,这周胡同选股比赛,所以见到你这个帖子,
第一件事就是 按照你的信息去报名,谢谢你。

MT 就是 MetaTrader的缩写。他们这次可能只赛12个外汇对。不过听说MT5可以炒股,我也见过可以炒股的MT4平台。

非常高兴你是software engineer,以后多指教。我知道几个MT4的MQL4语句和Sterling的Basic语句。
可是MT5是今年才出现的交易平台,它用MQL5语言,说明书2000多页。考虑到马上必须提交我的源码参赛,
我打算周末写个简单的 鳄鱼交易系统,相信自己能够通过Compile, 程序不会有语法错误,至于能不能赚钱,
我就不知道了,因为我没有交易平台历史数据进行试验。我现在还有14天的时间,所以还想多线程,同时交易8个品种,
可是没有把握能够完成源码。目前也不知道能否报名成功,我觉得通过参赛,可以把自己的名字List,
进入全世界大约3000名的MQL5编程爱好者的圈子,进行交流。如果你有时间,希望你也参赛。不必介意输赢。
回复 鲜花 鸡蛋

使用道具 举报

发表于 2012-9-7 11:07 AM | 显示全部楼层
九天 发表于 2012-9-7 10:27 AM
jamesmith 兄,先说对不起,原来没有想参加这个 MT5 比赛,这周胡同选股比赛,所以见到你这个帖子,
第 ...

Yes, I did registered for it as well. I will try to get something in to join in 14 days.
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2012-9-10 08:03 AM | 显示全部楼层
本帖最后由 九天 于 2012-9-10 08:05 AM 编辑
jamesmith 发表于 2012-9-7 11:07 AM
Yes, I did registered for it as well. I will try to get something in to join in 14 days.


Have you finished your Registration to Automated Trading Championship 2012?
I have not yet. But I have successful wrote a Souce Code without any Error
and any Warning for a single EURUSD. What my problem is  trading for multi-FX.
All Error are overcame. But there is a warning about a Int.
I dont understand why the compiler of MQL5 tells me my Int hide
a global declaration. In fact I really want global declare.
Have you the same problem?


P1011056.JPG
回复 鲜花 鸡蛋

使用道具 举报

发表于 2012-9-18 08:28 AM | 显示全部楼层
九天 发表于 2012-9-10 08:03 AM
Have you finished your Registration to Automated Trading Championship 2012?
I have not yet. But ...


Very busy lately...I registered, got a simple moving average strategy with static stop loss ExpertAdvisor to compile. Tried to do some test, but its not making any trade. If I have time tonight, I will do more testing. Did you figure out your problem?
回复 鲜花 鸡蛋

使用道具 举报

发表于 2012-9-18 08:33 AM | 显示全部楼层
九天 发表于 2012-9-7 10:27 AM
jamesmith 兄,先说对不起,原来没有想参加这个 MT5 比赛,这周胡同选股比赛,所以见到你这个帖子,
第 ...

I did some search. MT4 is mainly for forex, it got really popular because of their ExpertAdvisor gives everyone an easy way to use automatic strategy.
Now they want to expand to futures and equity, so they created MT5. But so far, MT5 is still not widely supported.

I have demo account with Oanda, a pretty good forex broker, they only work with MT4.

I am not sure if bigger broker will work with MT5, because many have their own software platform...for example IB have their own API for programmers...
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2012-9-18 09:19 AM | 显示全部楼层
jamesmith 发表于 2012-9-18 08:28 AM
Very busy lately...I registered, got a simple moving average strategy with static stop loss Expe ...

I have registered and send my ExpertAdvisor and then got a Login nummer with Bilanz and Free Margin of 10000US$.
But there is no my EA and I can not do any testing at all.
I asked MT5 per Email "Dir Sir, Please tell me if you recieve my EA. "
But I have not got a reply.
I am going to improve my EA throng Testing.

请告许我,你是否已经可以making any trading。
Really, MT5 is going to expand to forex,futures and equity.
I think MT5 needs some years to do so.
所以我认为还是应该学习C# based NinjaScript编程。

Ninja Trader7是比较专业的可编程交易平台,有100多家卷商使用它。
国内虽然有200万大小编程员,还没找到有人进行相关交流。
我目前在德国,周围也找不到懂 C# based NinjaScript编程 的人。
希望你或者其他胡同居民能在美国和加拿大找到前辈门,指导我写第一个 C# based NinjaScript 源码。

如果我的EA能够参加比赛,我就跟贴向你汇报。
回复 鲜花 鸡蛋

使用道具 举报

发表于 2012-9-18 09:54 AM | 显示全部楼层
九天 发表于 2012-9-18 09:19 AM
I have registered and send my ExpertAdvisor and then got a Login nummer with Bilanz and Free Margi ...

MT5 will take many year to be as popular as MT4 in forex.
You upload your EA in the championship webpage:
go to your user profile page, click on Files tab, then you can upload your EA and Indicator files.

programming is usually not the problem, the hard part is finding the right strategy that works.
I am interested because I am studied programming at school, and I am curious to see how well can automatic system work. It's like a fun toy project. Also with all the stimulus going on, it is important to know about forex :)
But in term of serious investing, I think of myself as a value investor and try to do investing as if I am buying the business.

回复 鲜花 鸡蛋

使用道具 举报

发表于 2012-9-18 10:31 AM | 显示全部楼层
"毫无疑问,一个大小程序交易,只要进入市场,尤其是赚了钱,立即会被使用 BAPM 程序化交易模型发现,归类为进行理性交易者,跟踪,然后分析出他的交易策略,制定反制策略。九天认为这就是一些程序开始赚钱,后来失败的原因"

九天
回复 鲜花 鸡蛋

使用道具 举报

发表于 2012-9-22 11:44 AM | 显示全部楼层
写程序并不是最重要的,关键是交易系统。衡量交易程序好坏的不是得不得奖,而是挣不挣钱。打击楼主的积极性了。很难有人愿意(免费)分享自己挣钱的交易系统,不是吗?

回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2012-9-24 12:59 AM | 显示全部楼层
RedCedar 发表于 2012-9-18 10:31 AM
"毫无疑问,一个大小程序交易,只要进入市场,尤其是赚了钱,立即会被使用 BAPM 程序化交易模型发现,归类为 ...

所以东家程序交易后来赔钱,不能骂IT民工,都是可怜的打工仔,对得起工钱。
东家应该多备些交易策略,及时更换。
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2012-9-24 01:56 AM | 显示全部楼层
Druid 发表于 2012-9-22 11:44 AM
写程序并不是最重要的,关键是交易系统。衡量交易程序好坏的不是得不得奖,而是挣不挣钱。打击楼主的积极性 ...

是这样,关键是交易策略,这个人家是不告许的。
也有些高级程序,比如物理学家的 混沌理论炒股,生物学家的 基因算法炒股,数学家的随机统计炒股,据说赚钱。
但是事关美元,属于机密,真正在职做程序交易的是不允许显摆的。
所以,九天就曾经成为HFT的话题组长,通过几年的公开交流,有些感兴趣。

目前我对HFT的理解,
1, 是多线程,同时扫描几百个甚至几千只股票,这个,程序在理论上就是一个循环语句之类。
2, 交易策略可能有子程库,随机调用不同的交易策略,于是就没有可能破解,天下无敌。

MQL5语言是今年才出现的,需要跟踪,所以写了个小源码,已经寄去参赛,是否得到参赛资格,目前还不知道。
因为我就是想试验MQL5 的多线程,他们只提供12个外汇对比赛,所以我就每5分钟扫描一下,符合我的简单交易策略就建仓或者平仓。至于4万美元的大奖,我就不做梦娶媳妇了,因为我连MQL5 是否可以多线程都没有把握,可能他们MT5 公司自己也不知道,我也从来没有看过类似源码。

如果我能够获得参赛资格,我将在本贴继续显摆,只要能够对全部12个外汇对进行交易,就是成功收获,输赢无关紧要。

目前胡同是欧美比较优秀的炒股网站,由于世界上70%的股票是程序交易,所以,胡同居民也不能忽略程序交易。咱们胡同有许多炒股高手和IT民工,如果有可能,可以实实在在的交流一下,免费试验各种交易策略,
实现模拟交易能够赚钱。如果是多线程,我可以省吃简用,提供小资金进行小仓量实战,成功后就利用赚的钱加仓而已。
回复 鲜花 鸡蛋

使用道具 举报

发表于 2012-9-25 11:26 PM | 显示全部楼层
九天 发表于 2012-9-24 01:56 AM
是这样,关键是交易策略,这个人家是不告许的。
也有些高级程序,比如物理学家的 混沌理论炒股,生物学家 ...

In a nutshell, it is so difficult. But I am not going to give up. I am using Java.
回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2012-9-26 01:32 AM | 显示全部楼层

MT5是今年2012年才出现的新交易平台,据说将可以进行股票,期货和外汇交易,值得关注。
我认为MT5的优势就是比较方便进行程序交易,适应目前70%的证卷交易是程序交易的现实。
因为MT5交易平台提供MQL5语言编程器,比较方便专业和小散写源码。

我个人拙见,认为MT5至少需要3年时间,进行大量的证卷市场考察验证,
发现每一个新交易平台和新的编程语言必然与生俱有的问题和缺陷,并进行改进。
目前阶段,还是已经在证卷市场上生存了10几年的C# based NinjaScript比较可靠。可是我没有条件开展学习。

感谢jamesmith提供信息,
http://championship.mql5.com/
使我知道了今年10月1号到12月30号举行的程序交易大赛,
Automated Trading Championship 2012
并获得了MQL5语言编程器,于是也写了一个源码参赛。
下面我将跟贴汇报一下情况。

回复 鲜花 鸡蛋

使用道具 举报

 楼主| 发表于 2012-9-26 01:33 AM | 显示全部楼层
1, 参赛人员情况
今天参赛报名已经结束。据统计,共有3670报名参赛,其中,


俄国        352
印度尼西亚  261
印度        193
乌克兰      115
中国        109

美国        101
巴基斯坦     56
马来西亚     55
伊朗         48
德国         39
意大利       39


可惜目前只有 13%的报名者仅469人获得比赛资格。
我个人已经获得参赛帐户,上面有10000美元的虚拟资金,可是目前没有见到通知获得比赛资格。
回复 鲜花 鸡蛋

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|www.hutong9.net

GMT-5, 2024-6-9 03:05 PM , Processed in 0.042705 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表