stockbot.ticker.sinotrade package¶
Submodules¶
stockbot.ticker.sinotrade.market module¶
-
class
stockbot.ticker.sinotrade.market.
Market
(ticker_symbol: str, dry_run: bool = True, timeout: int = 10000)[source]¶ Bases:
object
-
property
dry_run
¶
-
kbars
(**kwargs) → pandas.core.frame.DataFrame¶
-
place_order
(price: float, quantity: int = 1, action: shioaji.constant.Action = <Action.Buy: 'Buy'>, price_type: shioaji.constant.StockPriceType = <StockPriceType.LMT: 'LMT'>, order_type: shioaji.constant.StockOrderType = <StockOrderType.Common: 'Common'>, order_lot: str = 'Common') → shioaji.order.Trade[source]¶
-
snapshot
(**kwargs) → pandas.core.frame.DataFrame¶
-
property
stock
¶
-
streaming
(quote_type: shioaji.constant.QuoteType = <QuoteType.Tick: 'tick'>, intraday_odd: bool = False) → None[source]¶
-
property
ticker_symbol
¶
-
ticks
(**kwargs) → pandas.core.frame.DataFrame¶
-
property