Comments (7)
Is your .env
file in the same folder from which you are running the app ie. C:\Users\{username}
?
from binance-oco.
i sorry. I thought that as the code was being accept it was running everything on the bot folder so it was taking the env file in consideration.
i was running this command in another folder. When i tried running in the bot folder it worked
but i am totally confuse here with this price. I want to enter with this command at 0.0000815. Why this price of 0.0003968??? how can i enter at 0.0000815?
from binance-oco.
I suspect that you are not explicitly specifying a buy limit price. In this case, the app sets a limit price to emulate a stop market order ie. buy/sell at market price once the stop price has been hit. The behaviour is described in more detail here: https://github.com/tony-ho/binance-oco#limit-prices-for-stop-limit-orders
If you want to explicitly set the buy limit price, you need to set this using the -B/-E
option.
from binance-oco.
but i used the exact synstaxe you sent in your first reply just changing the coin, see
this:
binance-oco -p BEAMBTC -a
4 -b 0.0000784 -s 0.0000774 -t 0.0000884
so beam still below this price right now (around xxx776
this is not the correct syntaxe? Could you please tell me what is the correct sintaxe to enter exactly at 784? I dont want to just activate at 784 and set a order to enter on the pullback 783. I want to activate and enter at 784 to do not miss the trade
many thanks for yours answers.
from binance-oco.
The syntax you have is correct and will place a buy order that will enter the trade at 784.
The price that the order shows in the logs/order history is the order limit price (ie. not the stop/trigger price). So the order will trigger at 784 and will buy up to the limit price.
See How to use Stop-Limit Function for more information on stop-limit orders and an explanation on the differences between the stop price and limit price.
By default, the app sets a high limit price to emulate a stop market order.
If you want to explicitly set a different limit price for your buy/entry order, you can set it using the -B/-E
option.
from binance-oco.
sorry, i tought i had uploaded the image in my second post
i dont know it i was clear, but look at "price".
i am a total layman in coding and my english is not so good too. So i am still confuse
do you mean i should ignore this price? with this command the bot will sen a order to enter at 784???
thanks for you patience.
from binance-oco.
Yes, you can ignore Price in the Binance interface. The more important field is Trigger Conditions - in your screenshot it shows the order will enter at 784.
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
- 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 - Safe Exit to USDT after ALT/BTC trade HOT 1
- 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.