Giter VIP home page Giter VIP logo

Comments (9)

selamiwork avatar selamiwork commented on August 17, 2024 4

Only added TRAILING_DELTA to the enum and then it worked for me. Like the following ;

public enum FilterType {
// Symbol
PRICE_FILTER,
LOT_SIZE,
MIN_NOTIONAL,
MAX_NUM_ORDERS,
MAX_ALGO_ORDERS,
MAX_NUM_ALGO_ORDERS,
ICEBERG_PARTS,
PERCENT_PRICE,
MARKET_LOT_SIZE,
MAX_NUM_ICEBERG_ORDERS,
MAX_POSITION,
TRAILING_DELTA,

// Exchange
EXCHANGE_MAX_NUM_ORDERS,
EXCHANGE_MAX_ALGO_ORDERS
}

from binance-java-api.

mehc77 avatar mehc77 commented on August 17, 2024

It doesn't work adding only that value in the enum..

from binance-java-api.

TheLeBot avatar TheLeBot commented on August 17, 2024

@mehc77 i only added TRAILING_DELTA to the enum and then it worked for me. Did you do something else except my solution?

from binance-java-api.

mehc77 avatar mehc77 commented on August 17, 2024

@TheLeBot i have tried to update the enum in my api and getFilterType keeps giving an error, so I had to skip the search for lot_size to keep it working.
I'll look into why just adding in the enum doesn't work, I also thought that would suffice..

from binance-java-api.

TheLeBot avatar TheLeBot commented on August 17, 2024

@mehc77 Which kind of error do you get? I think you better attach the changed class for your program. Probably it does not use your changes somehow. It worked promtely for me as I added TRAILING_DELTA.

from binance-java-api.

GitDani3l avatar GitDani3l commented on August 17, 2024

Only added TRAILING_DELTA to the enum and then it worked for me. Like the following ;

public enum FilterType { // Symbol PRICE_FILTER, LOT_SIZE, MIN_NOTIONAL, MAX_NUM_ORDERS, MAX_ALGO_ORDERS, MAX_NUM_ALGO_ORDERS, ICEBERG_PARTS, PERCENT_PRICE, MARKET_LOT_SIZE, MAX_NUM_ICEBERG_ORDERS, MAX_POSITION, TRAILING_DELTA,

// Exchange EXCHANGE_MAX_NUM_ORDERS, EXCHANGE_MAX_ALGO_ORDERS }

Thank you so much!

from binance-java-api.

meliksah avatar meliksah commented on August 17, 2024

#425

from binance-java-api.

TheLeBot avatar TheLeBot commented on August 17, 2024

Those using OCO orders should probably have a look at this: https://github.com/binance-exchange/binance-java-api/pull/262/files/0f6856748cce6e011046c10732f5dccaac0352a1..e278acddb9c9cbbd5b7db9c49cb2497de7e35a48

FilterType for TRAILING_DELTA has some attributes, which should be added into the API declaration!

from binance-java-api.

Eldenayri avatar Eldenayri commented on August 17, 2024

You have to add "PERCENT_PRICE_BY_SIDE" also guys. it's new.

from binance-java-api.

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.