Trying out this API for the first time and wanted to check out an example code.
But it gives an Error for RestClient
class MeanReversionPaperOnly
{
private string API_KEY = “REPLACEME”;
private string API_SECRET = “REPLACEME”;
private string API_URL = “https://paper-api.alpaca.markets”;
private string symbol = "SPY";
private Decimal scale = 200;
private RestClient restClient;
private Guid lastTradeId = Guid.NewGuid();
private List<Decimal> closingPrices = new List<Decimal>();
public void Run()
{
restClient = new RestClient(API_KEY, API_SECRET, API_URL);