Comments (6)
Change
order = client.order_limit_buy(
symbol=alt_symbol + crypto_symbol,
quantity=order_quantity,
price=get_market_ticker_price(client, alt_symbol+crypto_symbol)
to
order = client.order_market_buy(
symbol=alt_symbol + crypto_symbol,
quantity=order_quantity,
#price=get_market_ticker_price(client, alt_symbol+crypto_symbol)
from binance-trade-bot.
from binance-trade-bot.
The new price may not be profitable for you, if you still want to force the trade you can switch to market orders in the code.
from binance-trade-bot.
That works, thank you
from binance-trade-bot.
Maybe we could automatically remove the open order if it is not filled within a certain time (like 10 mins).
The open order will block the USDT funds, also preventing automatic new trades.
from binance-trade-bot.
That works, thank you
How?
from binance-trade-bot.
Related Issues (20)
- starting sqlitebrowser: Bind mount failed ./data/config' does not exists HOT 1
- QUESTION HOT 3
- How to change the whole domain name ?
- weird "Stop iteration error" out of nowhere HOT 8
- Trouble at switching to a new coin HOT 3
- ImportError: cannot import name 'StreamManagerWorker' from 'binance_trade_bot.binance_stream_manager' HOT 4
- Error when trying to run HOT 4
- bi 安 量化机器人 HOT 1
- docker-compose up run error HOT 5
- how to code it HOT 1
- Error in parent package
- Is it a way to set amount of each trade value in USD instead of whole balance ?
- How to improve the utilization rate of funds? HOT 1
- What should I do if I want to remove the coin I want from the transaction? HOT 1
- Run error: "<frozen runpy>", line 189, in _run_module_as_main File "<frozen runpy>", line 148, in _get_module_details File "<frozen runpy>", line 112, in _get_module_details HOT 5
- trade bot (binance)
- Chilight Bid
- Binance_trader_api impor error with Docker HOT 1
- error running python -m binance-trade-bot HOT 4
- How to set initial funds on setup instead of using actual initial funds amount currently in account
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-trade-bot.