Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adshao master #8

Merged
merged 38 commits into from
Apr 8, 2024
Merged

Adshao master #8

merged 38 commits into from
Apr 8, 2024

Commits on Feb 16, 2023

  1. binance.PriceChangeStats is missing bidQty and askQty fields (adshao#463

    )
    
    * BNBBurnService feature
    
    * * PriceChangeStats to include BidQty and AskQty
    
    ---------
    
    Co-authored-by: Edward Yakop <edward@frankieone.com>
    edward-yakop and edward-frankieone authored Feb 16, 2023
    Configuration menu
    Copy the full SHA
    8e483ba View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2023

  1. Add param symbols for ListPriceChangeStatsService (adshao#460)

    * add param You must specify at least one file, pid, or task.
    
    symbols  [-help]
             [-arch (all | any | $arch_name)]
             [-cpuType #] [-cpuSubtype #]
             [-saveSignature path]
             [-symbolsPackageDir path]
             [-lookup (0x1234 | "symname")...] symname may use wildcards
             [-cacheMemoryLimit #]
             [-iterations #]
             files... file-signatures... signatures... pids... tasks...
    
    If no arch is specified, symbols defaults to the current architecture.
    The search order is file, file-signature, signature, pid, task.
    A file-signature is a file name ending in ".signature" and containing a
    single ascii signature.
    
    	-help               print this message
    	-uuid               print uuids
    	-noHeaders          do not print the headers
    	-noRegions          do not print the regions
    	-noSymbols          do not print the symbols
    	-noSources          do not print source line info
    	-noDemangling       do not print symbol names readably
    	-printDemangling    print interesting mangled --> demangled symbol names
    	-lazy               allow symbolicators to be lazy
    	-printSignature     print each symbolicator's signature
    	-deepSignature      created signatures will be "deep"
    	-fullSourcePath     print source line info with full path
    	-w                  force output to wide format
    	-v                  print version info
    	-arch               set the preferred architecture symbolically
    	-cpuType            set the preferred architecture cpu type
    	-cpuSubtype         set the preferred architecture cpu subtype
    	-lookup             a list of addrs or symbols to lookup in each target
    	-printCache         print cache data at exit
    	-asyncCacheCleanup  cache cleans on a separate thread
    	-syncCacheCleanup   cache cleans on deallocating thread
    	-cacheMemoryLimit   set the cache memory limit (in MB)
    	-iterations         iterate # times for each file, pid, or task
    	-trackDyld          track dyld load/unload activity in target
    	-hangOnDyldLoad     hang when receiving dyld load notice
    	-hangOnDyldUnload   hang when receiving dyld unload notice
    	-waitUntilExit      wait for target task exit notification
    	-noNotifications    do not print notifications for each target
    	-printNotifications print notifications for each target
    	-printDsymPaths     print each symbol owner's dsym path
    	-printMergedSymbols print info on each symbol before it is merged
    	-printSummary       print summary of each targets contents
    	-noNListData        do not use nlist data for symbols/source infos
    	-noDwarfData        do not use dwarf data for symbols/source infos
    	-noDebugMapData     do not use debug map data for symbols/source infos
    	-noDsymData         do not use dsym data for symbols/source infos
    	-noFuncStartsData   do not use LC_FUNCTION_STARTS data for symbols
    	-onlyNListData      only use nlist data for symbols/source infos
    	-onlyDwarfData      only use dwarf data for symbols/source infos
    	-onlyDebugMapData   only use debug map data for symbols/source infos
    	-onlyDsymData       only use dsym data for symbols/source infos
    	-onlyFuncStartsData only use LC_FUNCTION_STARTS data for symbols
    	-noDiskFaults       do not fault in symbol owners from disk
    	-noTaskFaults       do not fault in symbol owners from tasks
    	-noSelfDSCFaults    do not fault in from our dyld shared cache
    	-noDiskDSCFaults    do not fault from the on disk dyld shared cache
    	-safeMachVMReads    catch errors caused by missing backing pages
    	-noPathRewriting    do not update B&I dsym source info paths
    	-privateData        symbolicators do not share data in the SOD cache
    	-noTRawSOD          do not allow TRaw style SOD when faulting
    	-noMMapSOD          do not allow MMap style SOD when faulting
    	-noDaemon           do not read/write from the storage daemon
    	-noSourceInfoInSOD  do not include file name and line number data in SOD
    	-noTextInSOD        do not include instruction data in SOD
    	-failIfMissingDsym  exit with error code if any target does not have a dSYM
    	-inlineFrames       print inlined functions instances
    	-fbs                store signatures as flatbuffers
    	-deferredDemangling do not perform eager symbol name demangling when faulting  for ListPriceChangeStatsService
    
    * add param 'symbols' for ListPriceChangeStatsService
    
    * add unit test pull request adshao#460
    
    * Update v2/ticker_service.go
    
    adshao#460 (comment)
    
    Co-authored-by: adshao <tjusgj@gmail.com>
    
    * Update v2/ticker_service.go
    
    Co-authored-by: adshao <tjusgj@gmail.com>
    
    ---------
    
    Co-authored-by: adshao <tjusgj@gmail.com>
    lugondev and adshao authored Feb 21, 2023
    Configuration menu
    Copy the full SHA
    c8ea9ba View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2023

  1. Add github action: chatgpt-code-review-action (adshao#468)

    Signed-off-by: adshao <tjusgj@gmail.com>
    adshao authored Mar 3, 2023
    Configuration menu
    Copy the full SHA
    ea51855 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2023

  1. Upgrade action version (adshao#469)

    Signed-off-by: adshao <tjusgj@gmail.com>
    adshao authored Mar 5, 2023
    Configuration menu
    Copy the full SHA
    3b7a9ba View commit details
    Browse the repository at this point in the history
  2. Update action version (adshao#470)

    Signed-off-by: adshao <tjusgj@gmail.com>
    adshao authored Mar 5, 2023
    Configuration menu
    Copy the full SHA
    6b99675 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2023

  1. The futures module adds the continuous contract Kline rest interface …

    …and websocket interface (adshao#467)
    
    * The futures module adds the continuous contract Kline rest interface and websocket interface
    
    Co-authored-by: xieyongqi <657023321@qq.com>
    
    * perfect code
    
    * correct some comment
    xyq-c-cpp authored Mar 9, 2023
    Configuration menu
    Copy the full SHA
    fb4fae2 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2023

  1. feat implement managed sub account service (adshao#476)

    * feat add 3 ManagedSubAccount Service
    
    * add unittest
    
    ---------
    
    Co-authored-by: baixue <baixue@wecash.net>
    baixuexue123 and baixue authored Mar 23, 2023
    Configuration menu
    Copy the full SHA
    a4e5683 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2023

  1. feat(/fapi/v1/userTrades): Add support for orderId param (adshao#478)

    * feat(/fapi/v1/userTrades): Add support for `orderId` param
    
    * fix(/fapi/v1/userTrades): Typo
    rtunazzz authored Apr 22, 2023
    Configuration menu
    Copy the full SHA
    d613b20 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ae82c8 View commit details
    Browse the repository at this point in the history
  3. Replace filterType "MIN_NOTIONAL" on "NOTIONAL" (adshao#480)

    * feat: filter name was renamed form MIN_NOTIONAL to NOTIONAL
    
    * feat: Notional filter stuff was normalized
    sinyakinilya authored Apr 22, 2023
    Configuration menu
    Copy the full SHA
    57ba9f3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    59ee378 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2023

  1. Remove pull request trigger (adshao#485)

    Signed-off-by: adshao <tjusgj@gmail.com>
    adshao authored Apr 24, 2023
    Configuration menu
    Copy the full SHA
    25b1264 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2023

  1. Configuration menu
    Copy the full SHA
    217b5ca View commit details
    Browse the repository at this point in the history

Commits on May 20, 2023

  1. Add MultiAssetModeService for Future (adshao#487)

    * feat: add future-MultiAssetModeService
    
    * fix: change multiAssetMaring as bool and change dualSide of ChangePositionModeService as bool
    jeonghoyeo7 authored May 20, 2023
    Configuration menu
    Copy the full SHA
    eebc3b1 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2023

  1. Configuration menu
    Copy the full SHA
    62587d0 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2023

  1. Configuration menu
    Copy the full SHA
    e728846 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. set futures create order parameter quantity as optional (adshao#498)

    Co-authored-by: weiyunshen <weiyunshen@sensetime.com>
    wayne163 and weiyunshen authored Jul 31, 2023
    Configuration menu
    Copy the full SHA
    e40296b View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2023

  1. Update TradeID type to int64 (adshao#500)

    * Update TradeID type to int64
    
    Got an error, when create order on 32bit system.
    Err: binance.CreateOrderResponse.Fills: []*binance.Fill: binance.Fill.TradeID: ReadInt32: overflow: 3183180150, error found in #10 byte of ...|3183180150}],"selfTr|..., bigger context ...|3587","commissionAsset":"BNB","tradeId":3183180150}],"selfTradePreventionMode":"NONE"}|...
    
    Need to change the type of field TradeID from int to int64, because this field no longer places identifiers in systems where int is interpreted as int32. As a result, the order is created on Binance, but due to the fact that unmarshaling is broken, we cannot receive a correct response.
    
    * fix fmt issue
    orchidknight authored Aug 4, 2023
    Configuration menu
    Copy the full SHA
    bc33abe View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. Fix min notional in futures exchange info api (adshao#505)

    * Add missing field for futures acount api v2
    
    * rename NOTIONAL to MIN_NOTIONAL in exchange info api
    mm2175 authored Aug 14, 2023
    Configuration menu
    Copy the full SHA
    f03d80e View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Add fields for Pay Service response (adshao#509)

    * add payerinfo and receiver info for response
    
    * debug
    
    * fix field type
    
    * remove debug
    lscgzwd authored Sep 6, 2023
    Configuration menu
    Copy the full SHA
    ce2a826 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c68c034 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. Configuration menu
    Copy the full SHA
    254d7f5 View commit details
    Browse the repository at this point in the history
  2. feat(futures): add premium index klines service (adshao#515)

    * feat(futures): add premium index klines service
    
    * fix(futures): use index price klines service in its tests
    iskorotkov authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    acaa9b4 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. init options client and implement kline/order/exchange/depth services (

    …adshao#516)
    
    * Initial commit of options support.
    
    * Add unit tests.
    
    * Add options depth support.
    
    * Add options exchange info support.
    
    * Add base options trade support.
    
    * Update batch option create function.
    
    * fix: use origin mod name instead of forked one
    
    * fix code format in options package
    
    ---------
    
    Co-authored-by: realcraze <66867774+realcraze@users.noreply.github.com>
    wayne163 and realcraze authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    bb34461 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2023

  1. Update and improve the synchronization of "exchange_info_service" and…

    … "exchange_info_service_test" with the latest interface "exchange_info" status of Binance, and correct some issues (adshao#519)
    
    exchange_info_service:
        spot:
            1.Revised the type of MultiplierDecimal to string.
            2.Add Filter MAX_NUM_ORDERS and TRAILING_DELTA.
            3.remove type PercentPrice, add type PercentPriceBySide. Actually, PercentPriceBySide has replaced PercentPrice.
            4.remove type MinNotionalFilter.In fact, it should be removed when adding type Notional. Notional has replaced MinNotionalFilter.
    
        futures:
            1.Revised the type of MultiplierDecimal to string.
    
        delivery:
            1.Revised the type of MultiplierDecimal to string
            2.Add Filter MAX_NUM_ALGO_ORDERS
    
        option:
            1.remove type PercentPriceFilter/MarketLotSizeFilter/MaxNumOrdersFilter/MaxNumAlgoOrdersFilter/MinNotionalFilter.
    
              Because options currently only have two filters(PRICE_FILTER/LOT_SIZE).I don't think it's necessary to implement
              these non-existent things. What needs to be done is to maintain consistency with the official interface. It is
              also possible that the implementer of this module simply copied and modified a copy of the code from other
              modules before, without considering the actual situation.
    
    exchange_info_service_test:
        Based on the above modifications, the complete testing of the filter has been improved. Of course, combined with my
        thoughts on existing code, after reviewing these test codes, I found that some of the previous submissions did not
        complete the testing of the filter. I speculate that there may be some potential unresolved issues and skip this
        section. At present, it has been repaired and in my opinion, it is relatively complete.
    xyq-c-cpp authored Nov 11, 2023
    Configuration menu
    Copy the full SHA
    a58ccd5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f10ba2 View commit details
    Browse the repository at this point in the history
  3. added WithExtraForm help Add additional parameters to the form, such …

    …as placeOrder use priceMatch or goodTillDate (adshao#517)
    
    Co-authored-by: huo <q9090960bnb3@163.com>
    gofulljs and q9090960bnb3 authored Nov 11, 2023
    Configuration menu
    Copy the full SHA
    67358d3 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Configuration menu
    Copy the full SHA
    2692937 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Configuration menu
    Copy the full SHA
    03e886c View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Include API errors in CreateBatchOrdersResponse (adshao#536)

    Co-authored-by: HECki <heckimail@gmail.com>
    H3Cki and HECki authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    1ddc917 View commit details
    Browse the repository at this point in the history
  2. Add SubAccountFuturesTransferV1Service (adshao#537)

    * feat: add sub-account-futures-transfer
    
    * fix: use setParams instead of setFormParams in SubAccountFuturesTransferV1Service
    
    * fix: fix unittest and fix txnId type bug
    
    * fix: update response type due to api doc issue
    wayne163 authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    52be7e1 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2024

  1. feat: support binance non global (adshao#540)

    able to change api endpoint
    panapol-p authored Mar 2, 2024
    Configuration menu
    Copy the full SHA
    c16a07c View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2024

  1. [Bug]Funding Rate History response struct error (adshao#544)

    * Update mark_price.go
    
    * Update unit test
    ChengYen-Tang authored Mar 10, 2024
    Configuration menu
    Copy the full SHA
    f4b3272 View commit details
    Browse the repository at this point in the history
  2. update WsUserDataEvent struct (adshao#542)

    Co-authored-by: xandershum <Xander.S.Shum@gmail.com>
    XanderShum and xandershum authored Mar 10, 2024
    Configuration menu
    Copy the full SHA
    b962076 View commit details
    Browse the repository at this point in the history
  3. fix Mark Price, Order futures (adshao#533)

    * fix Mark Price
    
    * fix Order futures
    
    * fix Mark Price, Order futures (remove commenting code)
    mmavka authored Mar 10, 2024
    Configuration menu
    Copy the full SHA
    d8fca1e View commit details
    Browse the repository at this point in the history
  4. Fix unit tests (adshao#549)

    Signed-off-by: adshao <tjusgj@gmail.com>
    adshao authored Mar 10, 2024
    Configuration menu
    Copy the full SHA
    d3e61bd View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Merge branch 'master' of https://github.com/adshao/go-binance into ad…

    …shao-master
    
    Signed-off-by: thanhpp <thanhphanphu18@gmail.com>
    thanhpp committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    e3e26b8 View commit details
    Browse the repository at this point in the history
  2. refactor: fix TestExchangeInfo

    Signed-off-by: thanhpp <thanhphanphu18@gmail.com>
    thanhpp committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    7d0b724 View commit details
    Browse the repository at this point in the history