Skip to content

NoMoney Field

Summary

There are not enough money in the account to trade with.

Signature

1
public static ErrorCode NoMoney;

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.NoMoney)
     {
         Print("Not enough money to trade.");
     }
 }

Last update: March 30, 2023