OPEN-SOURCE SCRIPT

Long Term Long/Short Strategy (Pair Trading)

Longing or shorting an asset ratio depending on long term trend.

Long term trend is defined by crossing of an asset or index and its SMA.

Input values:
* trend asset
* SMA configuration (periods, resolution)
* strategy: long only, long/short, short only

คำจำกัดสิทธิ์ความรับผิดชอบ