Use distribute() to calculate weight distributions. Then call asset, enterLong, and exitLong as needed to attain the required positions.
https://zorro-project.com/manual/en/renorm.htm