Dear all,

It's my first post here. Trying to find a simple sample code/algorithm  which can be used to show me how to code a algorithm for  live trading. What I found in both documenation or community is all back test sample/code. Can someone show me a very basic strucuture and sample code such as moving average 20 bars which can be used for live trading.

have been struggle a little while.