I have custom 3 categories in my MM script - Stocks, Bonds, Short
1) How can i assign different symbol lists for each category, so it only picks up symbols from the assigned list when placing orders?
2) Also, not clear how the last parameter (null / Order type) implements rebalancing in the Portfolio.UpdateCategorySetting command below does - Portfolio.UpdateCategorySettings("long", 30, 3, Orders.OpenMarketOrder());
- Does it force-rebalance each of the categories to the target %?
- How often does it rebalance? Are the different positions in the category rebalanced proportional to the position size?
- If it's null and no auto-rebalancing is done, how do you prevent drift of the category size over time. Without rebalancing it's unclear what purpose does the category serve, as position sizing/rebalancing would need to be done manually in the MM code.
1/ You must implement your own trading logic within the MM Script and have a different system/formula for each category
2/ If an order is specified then the pending orders will be placed on the same day. If "null" is specified then no orders is executed and the category adjustement is made when new orders are generated by your system. In other words, specifying an order forces the rebalance.
Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.