Comments (5)
Hello @awhlmycn,
First, if you want to fetch historical orders maybe you should take a look at fetchClosedOrders
, fetchMyTrades
gets the fills not the orders.
Regarding your question, you're right that endpoint should accept until
but for some reason bitget throws an error when provided, we will reach out to them to clarify this situation.
from ccxt.
from ccxt.
Hello @awhlmycn, I tested it again and it worked, the problem is that the until/since cannot exceed 90 days, please ensure that is not happening.
from ccxt.
@carlosmiei
startTime = 1699113600000 # 2023-11-05
endTime = 1701705600000 # 2023-12-05
fetchMyTrades
trades = exchange.fetchMyTrades( symbol='$GPT/USDT', since=startTime, limit=100, params={ "until": endTime } )
trade_all = pd.json_normalize(trades)
trade_all.head(170)
PermissionDenied: bitget {"code":"43111","msg":"param error time range illegal","requestTime":1709558725809,"data":null}
Or is it impossible to query data from 90 days ago?
from ccxt.
Related Issues (20)
- Bitget watch_my_trades with no symbol specified HOT 3
- How to reset all CCXT variables HOT 3
- Bybit watchTicker returning undefined on many values. HOT 3
- Bybit handle_ticker bug: process the delta data HOT 3
- Order quantity on bitmex HOT 5
- Bitget X CCXT exclusive trading campaign
- Please add stock and crypto to trade in alpaca HOT 3
- safeBalance uses floats instead of strings - precision loss HOT 4
- Bitget - fetch_open_orders() doesn't work for SL/TP orders HOT 5
- Bitget) how to make Trigger order with Stop Loss? HOT 1
- Bitget fetchOHLCV 1d "until" doesn't work in new version HOT 1
- Setting leverage ratio and position by position mode is not effective in perpetual contract ordering requests HOT 2
- bybit fetchClosedOrder cannot find only by 'id', different with SPEC HOT 4
- C# FetchBalance for Gate raise error HOT 3
- Bingx Failed to establish a new connection: [Errno 101] Network is unreachable HOT 4
- Can we support deepcoin cryptocurrency exchange market?
- phemex fetchClosedOrders missing order id HOT 1
- Mexc cancel_all_orders returns with "ccxt\ExchangeError mexc {"code":700013,"msg":"Invalid content Type."}." HOT 8
- privatePostPrivateLinearPositionTradingStop not working anymore
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 ccxt.