Skip to content

MarketClosed Field

Summary

The market is closed.

Signature

1
public static ErrorCode MarketClosed;

Return Value

ErrorCode

Declaring Type

cAlgo.API.ErrorCode

Examples

1
2
3
4
5
6
7
 protected override void OnError(Error error)
 {
     if (error.Code == ErrorCode.MarketClosed)
     {
         Print("The market is closed.");
     }
 }

Last update: March 17, 2023