module Binance
Overview
Terminology
base assetrefers to the asset that is thequantityof a symbol.quote assetrefers to the asset that is thepriceof a symbol.
Defined in:
binance.crbinance/client/rest.cr
binance/client/websocket.cr
binance/client/websocket/handler.cr
binance/client/websocket/listener.cr
binance/converters/to_depth_entry.cr
binance/converters/to_filter.cr
binance/converters/to_float.cr
binance/converters/to_pong.cr
binance/converters/to_time.cr
Constant Summary
- 
        KLINE_INTERVALS = 
["1m", "3m", "5m", "15m", "30m", "1h", "2h", "4h", "6h", "8h", "12h", "1d", "3d", "1w", "1M"] of ::String - 
        
Kline/Candlestick chart intervals:
m -> minutes; h -> hours; d -> days; w -> weeks; M -> months
- 1m
 - 3m
 - 5m
 - 15m
 - 30m
 - 1h
 - 2h
 - 4h
 - 6h
 - 8h
 - 12h
 - 1d
 - 3d
 - 1w
 - 1M
 
 - 
        ORDER_SIDES = 
["BUY", "SELL"] of ::String - 
        
Order side (side):
- BUY
 - SELL
 
 - 
        ORDER_STATUSES = 
["NEW", "PARTIALLY_FILLED", "FILLED", "CANCELED", "PENDING_CANCEL", "REJECTED", "EXPIRED"] of ::String - 
        
Order status (status):
- NEW
 - PARTIALLY_FILLED
 - FILLED
 - CANCELED
 - PENDING_CANCEL (currently unused)
 - REJECTED
 - EXPIRED
 
 - 
        ORDER_TYPES = 
["LIMIT", "MARKET", "STOP_LOSS", "STOP_LOSS_LIMIT", "TAKE_PROFIT", "TAKE_PROFIT_LIMIT", "LIMIT_MAKER"] of ::String - 
        
Order types (orderTypes, type):
- LIMIT
 - MARKET
 - STOP_LOSS
 - STOP_LOSS_LIMIT
 - TAKE_PROFIT
 - TAKE_PROFIT_LIMIT
 - LIMIT_MAKER
 
 - 
        RATE_LIMIT_INTERVALS = 
["SECOND", "MINUTE", "DAY"] of ::String - 
        
Rate limit intervals (interval)
- SECOND
 - MINUTE
 - DAY
 
 - 
        SYMBOL_STATUSES = 
["PRE_TRADING", "TRADING", "POST_TRADING", "END_OF_DAY", "HALT", "AUCTION_MATCH", "BREAK"] of ::String - 
        
Symbol status (status):
- PRE_TRADING
 - TRADING
 - POST_TRADING
 - END_OF_DAY
 - HALT
 - AUCTION_MATCH
 - BREAK
 
 - 
        SYMBOL_TYPES = 
["SPOT"] of ::String - 
        
Symbol type:
- SPOT
 
 - 
        TIME_IN_FORCES = 
["GTC", "IOC", "FOK"] of ::String - 
        
Time in force (timeInForce):
- GTC
 - IOC
 - FOK