Information

Username: nova.fclinux
Member since: 28 Jan 2018
Last login: 28 Jan 2018
Status: Active

Activity

Where Created Comments
Algorithms 0 1
Forum Topics 0 0
Jobs 0 0

Last Algorithm Comments

NO
nova.fclinux · 6 years ago

Excume, I have typed the code above  and try to run it on Calgo but I got error messenge like this:" Error CS0120: An object reference is required for the non-static field, method, or property 'cAlgo.API.Internals.Algo.TimeZone.get' "

 

what can I do to fix this issue.

using System;
using System.Linq;
using System.IO;
using cAlgo.API;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
using cAlgo.Indicators;

namespace cAlgo
{
    [Robot(TimeZone = TimeZone.UTC, AccessRights = AccessRights.FileSystem)]
    public class DataExportTicks : Robot