Coder Social home page Coder Social logo

Stop-Limit Order about bitfinex.net HOT 4 CLOSED

jkorf avatar jkorf commented on August 27, 2024
Stop-Limit Order

from bitfinex.net.

Comments (4)

ciottied avatar ciottied commented on August 27, 2024

BTW, running in debug mode in VS 2017, immediate window prints:

2018/05/11 10:40:20:781 | Info | Socket connection established
2018/05/11 10:40:20:864 | Info | Websocket version: 2, platform status: operational
2018/05/11 10:40:20:993 | Info | Authentication successful
Cannot map enum. Type: Bitfinex.Net.Objects.OrderType, Value: EXCHANGE STOP LIMIT
Cannot map enum. Type: Bitfinex.Net.Objects.OrderType, Value: EXCHANGE STOP LIMIT

There is a issue withe the library ?

from bitfinex.net.

Espleth avatar Espleth commented on August 27, 2024

What's the difference between ExhangeLimit and Limit, ExhangeStop-Stop ?
Exchange* orders are for exchange trading, and other are for margin trading. But I agree, it needs clarification.

from bitfinex.net.

JKorf avatar JKorf commented on August 27, 2024

Hi, Thanks for the kind words.

As @Espleth mentioned, the difference between ExhangeLimit and Limit is to differentiate between exchange trading and margin trading. This is just how Bitfinex has named these values, but I agree it should be a bit more clear, I'll maybe change it later.

Regarding the warning you got; the StopLimit ordertype wasn't mapped to an enum, I fixed that in the last release.

ExchangeStopLimit orders aren't supported by the WebApi, but can be placed with the websocket client. Use the priceAuxiliaryLimit for this.

from bitfinex.net.

ciottied avatar ciottied commented on August 27, 2024

@Espleth , @JKorf Thank you guys.
Suggestion for Order Enum: ExchangeLimit, MarginLimit, ExchangeStop, MarginStop.

Stop Limit Order: I tried with V2API websocket order with stop price in price field and limit in AuxiliaryLimit. Got en error, something "so response for server".
But I tried just once in debug mode, and possibily it was a timeout error or I screwed something. Will try again and report.

from bitfinex.net.

Related Issues (20)

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.