Skip to content

Latest commit

 

History

History
269 lines (178 loc) · 12.1 KB

File metadata and controls

269 lines (178 loc) · 12.1 KB

Account

GET /eapi/v1/bill - Account Funding Flow

binance-cli derivatives-options account-funding-flow --currency "currency_example" --record-id 1 --start-time 1623319461670 --end-time 1641782889000 --limit 100 --recv-window 5000

GET /eapi/v1/marginAccount - Option Margin Account Information

binance-cli derivatives-options option-margin-account-information --recv-window 5000

MarketData

GET /eapi/v1/time - Check Server Time

binance-cli derivatives-options check-server-time

GET /eapi/v1/exchangeInfo - Exchange Information

binance-cli derivatives-options exchange-information

GET /eapi/v1/exerciseHistory - Historical Exercise Records

binance-cli derivatives-options historical-exercise-records --underlying "underlying_example" --start-time 1623319461670 --end-time 1641782889000 --limit 100

GET /eapi/v1/index - Index Price

binance-cli derivatives-options index-price --underlying "underlying_example"

GET /eapi/v1/klines - Kline/Candlestick Data

binance-cli derivatives-options kline-candlestick-data --symbol "symbol_example" --interval "interval_example" --start-time 1623319461670 --end-time 1641782889000 --limit 100
binance-cli derivatives-options open-interest --underlying-asset "underlyingAsset_example" --expiration "expiration_example"

GET /eapi/v1/mark - Option Mark Price

binance-cli derivatives-options option-mark-price --symbol "symbol_example"

GET /eapi/v1/depth - Order Book

binance-cli derivatives-options order-book --symbol "symbol_example" --limit 100

GET /eapi/v1/blockTrades - Recent Block Trades List

binance-cli derivatives-options recent-block-trades-list --symbol "symbol_example" --limit 100

GET /eapi/v1/trades - Recent Trades List

binance-cli derivatives-options recent-trades-list --symbol "symbol_example" --limit 100

GET /eapi/v1/ping - Test Connectivity

binance-cli derivatives-options test-connectivity

GET /eapi/v1/ticker - 24hr Ticker Price Change Statistics

binance-cli derivatives-options ticker24hr-price-change-statistics --symbol "symbol_example"

MarketMakerBlockTrade

POST /eapi/v1/block/order/execute - Accept Block Trade Order

binance-cli derivatives-options accept-block-trade-order --json {}

GET /eapi/v1/block/user-trades - Account Block Trade List

binance-cli derivatives-options account-block-trade-list --end-time 1641782889000 --start-time 1623319461670 --underlying "underlying_example" --recv-window 5000

DELETE /eapi/v1/block/order/create - Cancel Block Trade Order

binance-cli derivatives-options cancel-block-trade-order --block-order-matching-key "blockOrderMatchingKey_example" --recv-window 5000

PUT /eapi/v1/block/order/create - Extend Block Trade Order

binance-cli derivatives-options extend-block-trade-order --json {}

POST /eapi/v1/block/order/create - New Block Trade Order

binance-cli derivatives-options new-block-trade-order --json {}

GET /eapi/v1/block/order/execute - Query Block Trade Details

binance-cli derivatives-options query-block-trade-details --block-order-matching-key "blockOrderMatchingKey_example" --recv-window 5000

GET /eapi/v1/block/order/orders - Query Block Trade Order

binance-cli derivatives-options query-block-trade-order --block-order-matching-key "blockOrderMatchingKey_example" --end-time 1641782889000 --start-time 1623319461670 --underlying "underlying_example" --recv-window 5000

MarketMakerEndpoints

POST /eapi/v1/countdownCancelAllHeartBeat - Auto-Cancel All Open Orders (Kill-Switch) Heartbeat

binance-cli derivatives-options auto-cancel-all-open-orders --json {}

GET /eapi/v1/countdownCancelAll - Get Auto-Cancel All Open Orders (Kill-Switch) Config

binance-cli derivatives-options get-auto-cancel-all-open-orders --underlying "underlying_example" --recv-window 5000

GET /eapi/v1/mmp - Get Market Maker Protection Config

binance-cli derivatives-options get-market-maker-protection-config --underlying "underlying_example" --recv-window 5000

POST /eapi/v1/mmpReset - Reset Market Maker Protection Config

binance-cli derivatives-options reset-market-maker-protection-config --json {}

POST /eapi/v1/countdownCancelAll - Set Auto-Cancel All Open Orders (Kill-Switch) Config

binance-cli derivatives-options set-auto-cancel-all-open-orders --json {}

POST /eapi/v1/mmpSet - Set Market Maker Protection Config

binance-cli derivatives-options set-market-maker-protection-config --json {}

Trade

GET /eapi/v1/userTrades - Account Trade List

binance-cli derivatives-options account-trade-list --symbol "symbol_example" --from-id 1 --start-time 1623319461670 --end-time 1641782889000 --limit 100 --recv-window 5000

DELETE /eapi/v1/allOpenOrdersByUnderlying - Cancel All Option Orders By Underlying

binance-cli derivatives-options cancel-all-option-orders-by-underlying --underlying "underlying_example" --recv-window 5000

DELETE /eapi/v1/allOpenOrders - Cancel all Option orders on specific symbol

binance-cli derivatives-options cancel-all-option-orders-on-specific-symbol --symbol "symbol_example" --recv-window 5000

DELETE /eapi/v1/batchOrders - Cancel Multiple Option Orders

binance-cli derivatives-options cancel-multiple-option-orders --symbol "symbol_example" --order-ids 4611875134427365000  --client-order-ids "my_id_1"  --recv-window 5000

DELETE /eapi/v1/order - Cancel Option Order

binance-cli derivatives-options cancel-option-order --symbol "symbol_example" --order-id 1 --client-order-id "1" --recv-window 5000
binance-cli derivatives-options new-order --json {}

GET /eapi/v1/position - Option Position Information

binance-cli derivatives-options option-position-information --symbol "symbol_example" --recv-window 5000

POST /eapi/v1/batchOrders - Place Multiple Orders

binance-cli derivatives-options place-multiple-orders --json {}

GET /eapi/v1/openOrders - Query Current Open Option Orders

binance-cli derivatives-options query-current-open-option-orders --symbol "symbol_example" --order-id 1 --start-time 1623319461670 --end-time 1641782889000 --recv-window 5000

GET /eapi/v1/historyOrders - Query Option Order History

binance-cli derivatives-options query-option-order-history --symbol "symbol_example" --order-id 1 --start-time 1623319461670 --end-time 1641782889000 --limit 100 --recv-window 5000

GET /eapi/v1/order - Query Single Order

binance-cli derivatives-options query-single-order --symbol "symbol_example" --order-id 1 --client-order-id "1" --recv-window 5000

GET /eapi/v1/commission - User Commission

binance-cli derivatives-options user-commission --recv-window 5000

GET /eapi/v1/exerciseRecord - User Exercise Record

binance-cli derivatives-options user-exercise-record --symbol "symbol_example" --start-time 1623319461670 --end-time 1641782889000 --limit 100 --recv-window 5000

UserDataStreams

DELETE /eapi/v1/listenKey - Close User Data Stream

binance-cli derivatives-options close-user-data-stream

PUT /eapi/v1/listenKey - Keepalive User Data Stream

binance-cli derivatives-options keepalive-user-data-stream

POST /eapi/v1/listenKey - Start User Data Stream

binance-cli derivatives-options start-user-data-stream