Comments (1)
@crlsnr Thanks for your suggestion.
My preference is to keep the main purpose of this project as providing OCO functionality on Binance. Market sell to USDT after a trade is probably a feature more suited for a trading bot.
This feature is not something I'm looking to add, but the script could be modified to do so by updating the checkOrderFilled
callbacks for the stop and target orders:
Line 383 in f1e2cdb
Line 387 in f1e2cdb
data
already contains the symbol and quantity, so it just needs to work out the USDT trading pair and then binance.marketSell
.
from binance-oco.
Related Issues (17)
- OCO Function HOT 6
- This is doing string comparisons, not numbers, for the prices HOT 1
- how to do this ? HOT 1
- waitForSellOrderFill(...).finally is not a function HOT 6
- What do you use this for? HOT 1
- Entry, stop and take profit and go sleep HOT 2
- key error HOT 7
- put a trade bellow using the same coin HOT 2
- it did not send the TP for the second trade HOT 2
- Doesn't Consider Fee HOT 3
- Order does not exist HOT 6
- Is this valid for Margin Trading? HOT 1
- Scaled Orders HOT 3
- Feature Request - Set multiple profit target HOT 1
- Scale out logic broken in recent 2.0 update HOT 5
- 2.1.1 Limit sell order error HOT 2
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 binance-oco.