Darp8
- ago
Have looked on web and do not see, or in Help how to. I have WL reactivated acct now, and an Alpaca acct setup. Have watched the short WL video on autotrading with WL/Alpaca, after it is setup.

Is there a step by step video on doing it? https://alpaca.markets/docs/trading/getting_started/#installing-alpacas-client-sdk looks like it requires some coding. It has been 20 years since I have coded, and was never a good coder. Have someone that python codes other things for me, but cannot contact him in the last 2 days.

Being the recommended route to get to autotrading the fastest is using Alpaca, it would be very helpful for a tutorial on it, and if code is required to have it available as file.

The rest seems easy, have been backtesting and optimizing, etc. and pretty easy to figure out.
0
612
Solved
13 Replies

Reply

Bookmark

Sort
Cone8
 ( 7.10% )
- ago
#1
Coding isn't required.

0. Visit Preferences > Trading, read the User Guide and select the options you want.
1. Use blocks to create a strategy. Save it.
2. Open a chart and select the scale. Don't load too much history - enough to trade your strategy.
3. Drag Strategy from from the list into the chart.
4. Start Streaming - a toolbar will appear where you select the broker, account, and position sizing.
5. Enable the Auto-Trade button
6. Save the Workspace to come back to it.


1
Best Answer
Darp8
- ago
#2
Hi Cone,

On Alpaca they say to install python and their python (think API kit). I was in middle of that and had python already installed.

So all that is unnecessary? Hope so.

BTW thanks
0
Cone8
 ( 7.10% )
- ago
#3
Do you see anything about installing python in my reply?

That procedure is general for any broker. I assumed you've installed a broker extension and configured it for your account.
1
Glitch8
 ( 13.39% )
- ago
#4
Python is for DIY algo traders who want to build their own custom solution. Since many algo traders use Python, Alpaca features it.

WL8 doesn’t use Python so it’s not required to install that Python API.

Oh, and go Pine View Pythons!!
1
Darp8
- ago
#5
Glad I asked. Thanks guys!
0
Darp8
- ago
#6
On

QUOTE:
0. Visit Preferences > Trading, read the User Guide and select the options you want.

(did)
QUOTE:
1. Use blocks to create a strategy. Save it.

(did, used one already had)
QUOTE:
2. Open a chart and select the scale. Don't load too much history - enough to trade your strategy.

(I did but can only select one stock, not a list like nadsaq100, put in OBE(stock), then AAPL both seemed to work, which painted daily bars. No intraday data it says for historical, even with Yahoo, see no Alpaca)
QUOTE:
3. Drag Strategy from from the list into the chart.

(did)
QUOTE:
4. Start Streaming - a toolbar will appear where you select the broker, account, and position sizing.

(only Dummy Broker shows, no Alpaca. Steaming does seem to happen, green button appears, and price in yellow box does changes)
QUOTE:
5. Enable the Auto-Trade button

(there are two auto buttons, a black and green, I clicked green).
QUOTE:
6. Save the Workspace to come back to it.

(how do you that?)
0
- ago
#7
QUOTE:
(how do you that?)

Explained in the Help (F1).
QUOTE:
(only Dummy Broker shows, no Alpaca.

Alpaca extension not installed / not configured / WL not restarted (choose what applies).
0
Darp8
- ago
#8
thanks Eugene, will try. So you had to do nothing on Alpaca side, besides starting a paper acct? ah installing extension, so I need to do that from Alpaca side?

I see "Your paper trading account will have a different API key from your live account, and all you need to do to start using your paper trading account is to replace your API key and API endpoint with ones for the paper trading. The API spec is the same between the paper trading and live accounts. The API endpoint (base URL) is displayed in your paper trading dashboard, and please follow the instruction about how to set it depending on the library you are using. In most cases, you need to set an environment variable APCA_API_BASE_URL=https://paper-api.alpaca.markets" So looks like need to do that.
0
Cone8
 ( 7.10% )
- ago
#9
Get a paper account with Alpaca, select Alpaca in the Order Manager, click "Configuration" and enter the details. There's a Help topic too.

IB has paper trading accounts too, but the set up is different. We adapt.
1
Darp8
- ago
#10
I think am missing something.

1. Under Order Entry in WL see only Dummy Broker, no Alpaca.
2. Under Data Manager only see in order WealthData, Q-Data,Yahoo, AlphaAdvantage(with red mark before), and Cryptocompare
3. Under Event Providers , Alpha, Wealthdata and Yahoo.
4. Under Streaming providers only Yahoo
5. Under Configure (see no Configuration tab) Only Dummy Broker
I have logged off and on 3 times.

Do I have to do something on Alpaca before WL can even allow me to put in Alpaca info? Does it even need to know if I have Alpaca? I do have a paper account # at Alpaca, but it seems you are saying until I need to type in the Alpaca info, WL has Alpaca in its menu as std selection?
0
Glitch8
 ( 13.39% )
- ago
#11
Did you download and install the WL8 Alpaca Extension from our Extensions page?

https://www.wealth-lab.com/extension/detail/Alpaca
1
Darp8
- ago
#12
bet that is it

EDIT: OK can see Alpaca in many places now. On Chart when click streaming on top now has Alpaca and Yahoo, but red pencil thing in front of Alpaca. I did reboot, after downloading and I think installing as it showed me which dir it was going to.

Also in Historical it has red thing in front of Alpaca. So can not put in info.

I see need to put in secret code, it will likely work, no answers needed now
0
Darp8
- ago
#13
It was it, thanks for help!!
0

Reply

Bookmark

Sort