由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Stock版 - A basic algorithmic trading framework
相关主题
请问这里自己做algorithm based trading的大大牛本周末顺利完成了一个中期选股测试
买系统都是扯淡这里有做 trading system 开发的么?
Why I Quit Algorithmic Trading to Do Web Startups请问哪个trader的交易费最便宜啊 ?
Why he Quit Algorithmic Trading to Do Web Startups建议想天天和大家分享trading记录的自己开个thread
有没有这样的stock price alert系统大家讨论的系统到底指的啥?
包子问 IB daytrade的问题[Technical Analysis] My current understanding
提一个broker的技术问题Where is the NQ trAding thread?
在这种机器人trading得年代,设stop狠惨苹果被 dump在542.8
相关话题的讨论汇总
话题: trading话题: check话题: conditions话题: thread
进入Stock版参与讨论
1 (共1页)
m*********h
发帖数: 5449
1
This is an abstract toy system. A lot work to do for a real algorithmic
trading system.
This is not for high frequency trading. It is for swing trading.
two threads:
the first is data manager or retreiver.
the second is trading thread.
the first one is related to broker and API. please check your broker's
documents.
the following is trading thread. suppose all data, positions and order
status are up to
date.
like a game, a trading thread is mainly an infinite loop.
while(true)
{
update timer;
check trend alert conditions;
send alert to users if triggered;
check current positions and live orders;
check trading requirements;
check trading entry or exit conditions;
place or cancel orders if all conditions are satisfied;
sleep 10 milliseconds;
}
G***G
发帖数: 16778
2
how to communicate between the two threads simutaneously?

【在 m*********h 的大作中提到】
: This is an abstract toy system. A lot work to do for a real algorithmic
: trading system.
: This is not for high frequency trading. It is for swing trading.
: two threads:
: the first is data manager or retreiver.
: the second is trading thread.
: the first one is related to broker and API. please check your broker's
: documents.
: the following is trading thread. suppose all data, positions and order
: status are up to

W***n
发帖数: 11530
3
"sleep 10 milliseconds"
this is not hi-freq trading?!
m*********h
发帖数: 5449
4
a lot of ways on google

【在 G***G 的大作中提到】
: how to communicate between the two threads simutaneously?
m*********h
发帖数: 5449
5
high frequency requires much less response time
but my Internet is not that fast

【在 W***n 的大作中提到】
: "sleep 10 milliseconds"
: this is not hi-freq trading?!

s********y
发帖数: 831
6
白痴码工。

【在 m*********h 的大作中提到】
: This is an abstract toy system. A lot work to do for a real algorithmic
: trading system.
: This is not for high frequency trading. It is for swing trading.
: two threads:
: the first is data manager or retreiver.
: the second is trading thread.
: the first one is related to broker and API. please check your broker's
: documents.
: the following is trading thread. suppose all data, positions and order
: status are up to

m*********h
发帖数: 5449
7
哪个基金还在用手工下单?

【在 s********y 的大作中提到】
: 白痴码工。
1 (共1页)
进入Stock版参与讨论
相关主题
苹果被 dump在542.8有没有这样的stock price alert系统
半年401k总结包子问 IB daytrade的问题
I will give out the algorithm for KE System for free (转载)提一个broker的技术问题
pivot point方法怎么定出点呢?在这种机器人trading得年代,设stop狠惨
请问这里自己做algorithm based trading的大大牛本周末顺利完成了一个中期选股测试
买系统都是扯淡这里有做 trading system 开发的么?
Why I Quit Algorithmic Trading to Do Web Startups请问哪个trader的交易费最便宜啊 ?
Why he Quit Algorithmic Trading to Do Web Startups建议想天天和大家分享trading记录的自己开个thread
相关话题的讨论汇总
话题: trading话题: check话题: conditions话题: thread