All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.contek.invoker.bybit.api.rest.user.UserRestApi Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package io.contek.invoker.bybit.api.rest.user;

import io.contek.invoker.commons.api.actor.IActor;
import io.contek.invoker.commons.api.rest.RestContext;
import javax.annotation.concurrent.ThreadSafe;

@ThreadSafe
public final class UserRestApi {

  private final IActor actor;
  private final RestContext context;

  public UserRestApi(IActor actor, RestContext context) {
    this.actor = actor;
    this.context = context;
  }

  public GetApiKey getApiKey() {
    return new GetApiKey(actor, context);
  }

  public GetExecutionList getExecutionList() {
    return new GetExecutionList(actor, context);
  }

  public GetOrder getOrder() {
    return new GetOrder(actor, context);
  }

  public GetOrderList getOrderList() {
    return new GetOrderList(actor, context);
  }

  public GetPositionList getPositionList() {
    return new GetPositionList(actor, context);
  }

  public GetUserLeverage getUserLeverage() {
    return new GetUserLeverage(actor, context);
  }

  public GetWalletBalance getWalletBalance() {
    return new GetWalletBalance(actor, context);
  }

  public GetWalletFundRecords getWalletFundRecords() {
    return new GetWalletFundRecords(actor, context);
  }

  public PostLeverageSave postLeverageSave() {
    return new PostLeverageSave(actor, context);
  }

  public PostOrderCancel postOrderCancel() {
    return new PostOrderCancel(actor, context);
  }

  public PostOrderCreate postOrderCreate() {
    return new PostOrderCreate(actor, context);
  }

  public PostUserLeverageSave postUserLeverageSave() {
    return new PostUserLeverageSave(actor, context);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy