backtesting with composite

#1
Hi,

Has anyone tried back testing with Composite securities.

For example i create a Composite security: AB which is A divided by B. and i want to back test this composite security, in the manner such that when the ratio A/B crosses some number I buy A and sell B.

Can someone help me out with this?