Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exchange ¶
type Exchange interface { // const OrderTypes() OrderTypes // public ExchangeName() string InScheduledMaintenance() bool Boards(symbol string) (board.Board, error) // private CreateOrder(price, size float64, isBuy bool, symbol, orderType string) (*order.Responce, error) LiquidationOrder(price, size float64, isBuy bool, symbol, orderType string) (*order.Responce, error) EditOrder(symbol, localID string, price, size float64) (*order.Order, error) CancelOrder(symbol, localID string) error CancelAllOrder(symbol string) error ActiveOrders(symbol string) ([]order.Order, error) Stocks(symbol string) (stock.Stock, error) Balance() ([]base.Balance, error) // for backtest UpdateLTP(ltp float64) error UpdateBestPrice(bestAsk, bestBid float64) error }
Exchange 取引所のラッパーentity
type OrderTypes ¶
Click to show internal directories.
Click to hide internal directories.