Hello.

i'm having issue to set the SymbolProperties values. The script was working fine previously. 

Example below.

self.rubber = self.AddData(RUBBER, "TF", Resolution.Minute) #RUBBER is custom dataset loaded from csv.
self.rubber.SymbolProperties.MinimumPriceVariation = 1
self.rubber.SymbolProperties.LotSize = 0.01
self.rubber.SymbolProperties.QuoteCurrency = "USD"
self.rubber.SymbolProperties.ContractMultiplier = 50
self.rubber.SetLeverage(50)

Error message:

During the algorithm initialization, the following exception has occurred: TypeError : property is read-only
at Initialize in main.py:line 17
:: self.rubber.SymbolProperties.MinimumPriceVariation = 1
TypeError : property is read-only

 

Thanks.

Andy