Category : alpacajs

I am attempting to use the C++ wrapper for the Alpaca Traders API for the found here: However, I’m having trouble even connecting to my paper trading account. Here is the code from the wrapper for getting the Alpaca account: httplib::Headers headers(const Environment& environment) { return { {"APCA-API-KEY-ID", environment.getAPIKeyID()}, {"APCA-API-SECRET-KEY", environment.getAPISecretKey()}, }; } std::pair<Status, ..

Read more