Giter VIP home page Giter VIP logo

Comments (7)

tony-ho avatar tony-ho commented on September 24, 2024

Is your .env file in the same folder from which you are running the app ie. C:\Users\{username}?

from binance-oco.

ronanmendes avatar ronanmendes commented on September 24, 2024

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.

tony-ho avatar tony-ho commented on September 24, 2024

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.

ronanmendes avatar ronanmendes commented on September 24, 2024

but i used the exact synstaxe you sent in your first reply just changing the coin, see

https://imgur.com/a/FgBvCaI

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.

tony-ho avatar tony-ho commented on September 24, 2024

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.

ronanmendes avatar ronanmendes commented on September 24, 2024

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.

image

from binance-oco.

tony-ho avatar tony-ho commented on September 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.