Comments (5)
Okay, I figured out how to get the REAL price on your order.
GET /spot/my_trades
from gateio-crypto-trading-bot-binance-announcements-new-coins.
The price from the /spot/orders api is the original limit order price. However, everything under this price is bought.
In order to compute the "real" price you could do something like final_price = order['fill_price'] / order['amount']
from gateio-crypto-trading-bot-binance-announcements-new-coins.
I think there's nothing wrong on gate.io side. Maybe the bot takes into account the limit order price instead of the actual fill price.
from gateio-crypto-trading-bot-binance-announcements-new-coins.
The price from the /spot/orders api is the original limit order price. However, everything under this price is bought. In order to compute the "real" price you could do something like
final_price = order['fill_price'] / order['amount']
I see what you're saying....that the /spot/orders api tells you what you submitted for the price. It doesn't mean that is the price you actually filled your buy order with. But it seems like you can fetch (to confirm) your price/trades with /spot/my_trades
and get the price that was actually used with the fill order.
from gateio-crypto-trading-bot-binance-announcements-new-coins.
If there is still a problem that needs to be addressed, feel free to open the issue again.
from gateio-crypto-trading-bot-binance-announcements-new-coins.
Related Issues (20)
- Consider logs more beautify & add more informative new fields
- Unable to buy API3, Empty error HOT 3
- False positive announcement alert after 2 days from kucoin HOT 1
- Bot does not buy Binance announcements
- Error In SSH Server HOT 4
- Telegram notifications don't work HOT 2
- ModuleNotFoundError when running main.py HOT 1
- Matrix discussion room
- Better logging when polling announcements
- Add more config options when using proxies
- Remove proxies when they return an invalid response
- Option to add custom proxies
- When chosen pairing doesn't exist, print error accordingly
- Messages not send to telegram HOT 1
- Get Announcement with latency HOT 5
- Looks like Binance is tweaking cache
- Error with kucoin new announcements
- Telegram notifications broken? HOT 1
- Error 400 pulling Binance announcement page HOT 3
- New Crypto
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 gateio-crypto-trading-bot-binance-announcements-new-coins.