Documentation ¶
Index ¶
- Constants
- type HiroseClient
- func (c *HiroseClient) CancelOrder(order Order) error
- func (c *HiroseClient) CancelOrders() error
- func (c *HiroseClient) Fetch(method, urlStr string) (*goquery.Document, error)
- func (c *HiroseClient) FetchWithQuery(method, urlStr string, query map[string]string) (*goquery.Document, error)
- func (c *HiroseClient) GetOrder(order Order) (*Order, error)
- func (c *HiroseClient) GetOrderList() ([]Order, error)
- func (c *HiroseClient) GetOrders() ([]Order, error)
- func (c *HiroseClient) GetPosition(position Position) (*Position, error)
- func (c *HiroseClient) GetPositionList() ([]Position, error)
- func (c *HiroseClient) GetPositions() ([]Position, error)
- func (c *HiroseClient) GetStatus() (*Status, error)
- func (c *HiroseClient) IsSignedIn() (bool, error)
- func (c *HiroseClient) SignIn(userId, password string) (bool, error)
- type Order
- type Position
- type Status
Constants ¶
View Source
const HOST string = "https://lionfx-mob.hirose-fx.co.jp"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HiroseClient ¶
type HiroseClient struct {
// contains filtered or unexported fields
}
func (*HiroseClient) CancelOrder ¶
func (c *HiroseClient) CancelOrder(order Order) error
func (*HiroseClient) CancelOrders ¶
func (c *HiroseClient) CancelOrders() error
func (*HiroseClient) Fetch ¶
func (c *HiroseClient) Fetch(method, urlStr string) (*goquery.Document, error)
func (*HiroseClient) FetchWithQuery ¶
func (*HiroseClient) GetOrderList ¶
func (c *HiroseClient) GetOrderList() ([]Order, error)
func (*HiroseClient) GetOrders ¶
func (c *HiroseClient) GetOrders() ([]Order, error)
func (*HiroseClient) GetPosition ¶
func (c *HiroseClient) GetPosition(position Position) (*Position, error)
func (*HiroseClient) GetPositionList ¶
func (c *HiroseClient) GetPositionList() ([]Position, error)
func (*HiroseClient) GetPositions ¶
func (c *HiroseClient) GetPositions() ([]Position, error)
func (*HiroseClient) GetStatus ¶
func (c *HiroseClient) GetStatus() (*Status, error)
func (*HiroseClient) IsSignedIn ¶
func (c *HiroseClient) IsSignedIn() (bool, error)
Click to show internal directories.
Click to hide internal directories.