Comments (6)
@paulanto09009 could you give some steps to reproduce?
https://docs.alpaca.markets/web-api/orders/#get-a-list-of-orders does not seem to have a default limit and looking at the _broker code it looks to be ok. Also can't reproduce, but this would be a pretty serious issue for me if this is true!
Thanks
from pylivetrader.
Good find the document doesn't say that, but it is 50 as far as I know, and yes if there are too many canceled orders, it pushes open orders so pylivetrader doesn't find it. It should instead use get_orders with status='open'
from pylivetrader.
https://docs.alpaca.markets/web-api/orders/#get-a-list-of-orders
Actually, there were undocumented parameters. SDK needs to support it first. alpacahq/alpaca-trade-api-python#34
from pylivetrader.
submitted a PR here: alpacahq/alpaca-trade-api-python#35
from pylivetrader.
#45 should cover this.
from pylivetrader.
This should be fixed by the latest release. @paulanto09009, are you able to verify that your issue was resolved in pylivetrader v0.0.17?
from pylivetrader.
Related Issues (20)
- AttributeError: type object 'USEquityPricing' has no attribute 'get_loader' HOT 3
- NotImplementedError: Index._join_level on non-unique index is not implemented HOT 4
- Issue during live trading. Cannot order XXXX on <date> as there is no last price for the security HOT 34
- Stop loss logic HOT 2
- Algorithm not working when computing weights with scipy function HOT 30
- AttributeError: module 'pylivetrader.algorithm' has no attribute 'attach_pipeline' HOT 3
- RuntimeWarning: All-NaN slice encountered
- Add oauth param in the tradeapi.REST() HOT 1
- import USEquityPricing leads to numpy error HOT 2
- pylivetrader installation failure HOT 1
- Program hanging on INFO: Algorithm: livetrader start running with backend = alpaca data-frequency = minute for hours in the command prompt HOT 2
- data.history() fails tracing back to alpaca_trade_api/rest.py TypeError
- Backtest example not present.
- [Feature] : Add GitHub Issue Forms HOT 1
- pylivetrader needs update for v2 bars HOT 7
- connection error while running pylivetrader HOT 3
- Error while running algortihm with pipeline-live HOT 1
- data.history() pulls incorrect minute time frame data if data lookback extends past current day's open.
- ValueError: invalid literal for int() with base 10 (backend/alpaca.py: `int(pos.qty)` should be `float` ?)
- ConnectionRefusedError: [Errno 111] Connect call failed ('149.154.167.51', 443) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pylivetrader.