Assets with a variable component in symbol

Posted By: Sphin

Assets with a variable component in symbol - 12/26/15 03:00

I just try some MT4 brokers to find an alternative to FXCM and I ran into one problem with assets names. There is e.g. a broker whose Oil CFDs are named "OIL-FEB16" and "OILMn-FEB16" for WTI Oil (Mini) Future with according expirations. Is there a chance to name the assets with a kind of wildcard anywhere in AssetsFix or Zorro.mq4 or do I have to rename it every month?

Thanks, Sphin
Posted By: jcl

Re: Assets with a variable component in symbol - 12/28/15 13:59

Use the same asset, but modify the Symbol string every month. I have not tried it, but it should work.
Posted By: Sphin

Re: Assets with a variable component in symbol - 03/02/16 22:46

It works, but I must restart Zorro and MT4 to get the new symbol work.
© 2024 lite-C Forums