Documentation
¶
Index ¶
- func AdminAuthHandler(c *gin.Context)
- func AdminFirmHandler(c *gin.Context)
- func AdminFuturesHandler(c *gin.Context)
- func AdminOrderHandler(c *gin.Context)
- func AdminTradeHandler(c *gin.Context)
- func AuthHandler(c *gin.Context)
- func ErrorHandler(c *gin.Context, code int, message string)
- func OrderHandler(c *gin.Context)
- func StatusHandler(c *gin.Context)
- func TradeHandler(c *gin.Context)
- func ValidationHandler(c *gin.Context)
- type Children
- type Error
- type FuturesResponse
- type OrderResponse
- type TradeResponse
- type Trader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdminAuthHandler ¶
func AdminFirmHandler ¶
func AdminFuturesHandler ¶
func AdminOrderHandler ¶
func AdminTradeHandler ¶
func AuthHandler ¶
func OrderHandler ¶
func StatusHandler ¶
func TradeHandler ¶
func ValidationHandler ¶
Types ¶
type FuturesResponse ¶
type OrderResponse ¶
type OrderResponse struct {
OrderID uuid.UUID `json:"order_id" gorm:"primary_key"`
OrderType string `json:"order_type"`
Side string `json:"side"`
FuturesID string `json:"futures_id"`
Firm string `json:"firm"`
TraderName string `json:"trader_name"`
Quantity string `json:"quantity"`
OpenQuantity string `json:"open_quantity"`
Price string `json:"price"`
StopPrice string `json:"stop_price"`
Status string `json:"status"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
}
type TradeResponse ¶
Click to show internal directories.
Click to hide internal directories.