Open Louvivien opened 1 year ago
I think it is for backend only
@Louvivien I can confirm that this package is designed for backend. I was able to setup a basic express server and then create calls that would import different parts of the alpaca npm package and use them to authenticate, make trades etc.
Once this backend is setup via express you can then use any front end angular/react/vue etc. to make calls to this backend to make trades or turn bots on/off via UI elements in that web app. Hope this adds great context for anyone in the future!
Is there an existing issue for this?
Current Behavior
It is a create react app. I have installed alpaca-trade-api npm module and I try to import alpaca-trade-api in a React Component but I get this error :
Do you know why?
Expected Behavior
No response
SDK Version I encountered this issue in
npm install --save @alpacahq/alpaca-trade-api
Steps To Reproduce
Filled out the Steps to Reproduce section?
Anything else?
No response