example-scalping icon indicating copy to clipboard operation
example-scalping copied to clipboard

A working example algorithm for scalping strategy trading multiple stocks concurrently using python asyncio

Results 16 example-scalping issues
Sort by recently updated
recently updated
newest added

It's 2022, is anyone able to run this software

Bumps [py](https://github.com/pytest-dev/py) from 1.8.0 to 1.10.0. Changelog Sourced from py's changelog. 1.10.0 (2020-12-12) Fix a regular expression DoS vulnerability in the py.path.svnwc SVN blame functionality (CVE-2020-29651) Update vendored apipkg: 1.4...

dependencies

Bumps [websockets](https://github.com/aaugustin/websockets) from 8.0.2 to 9.1. Changelog Sourced from websockets's changelog. 9.1 ... May 27, 2021 .. note:: **Version 9.1 fixes a security issue introduced in version 8.0.** Version 8.0...

dependencies

When I run the code exactly as is I get the following message 2021-03-30 08:58:25,672:rest.py:142:WARNING:alpaca_trade_api.rest:sleep 3 seconds and retrying https://data.alpaca.markets/v2/stocks/TSLA/bars 3 more time(s)... The message just repeats over and over...

I upgrade the alpaca_trade_api and now it just hangs.

Hello, I can't get the script to run due to the upgrade to the API: When I run `python main.py --lot=2000 TSLA FB AAPL` , I get ``` requests.exceptions.HTTPError: 403...

I don't see where to enter api keys for either Alpaca or Polygon in the code? Can you point me to what I'm missing?

First of, I must say I have gone through 50+ tutorials on Alpaca and AlgoTrading, by far this is one of the most helpful and realistically useful implementation I came...

- Handle scenario where we are holding a position, but there's no open sell order. - pd.Timestamp in checkup function giving "Cannot pass a datetime or Timestamp with tzinfo". Replaced...

@umitanuki How do you handle 1006 disconnects in this paradigm? {"message": "code = 1006 (connection closed abnormally [internal]), no reason", "time": "2020-09-17T15:50:36.513913"}