Exemple #1
0
    def request(self, **kwargs):
        channel = "/v1/account_configs/cod"

        return RestApiSyncClient(**kwargs).request_process(
            HttpMethod.GET_PRIVATE, channel, self.params)
Exemple #2
0
    def request(self, **kwargs):
        channel = "/v1/amend_orders"

        return RestApiSyncClient(**kwargs).request_process(HttpMethod.POST_PRIVATE, channel, self.params)
    def request(self, **kwargs):
        channel = "/v1/instruments"

        return RestApiSyncClient(**kwargs).request_process(
            HttpMethod.GET_PUBLIC, channel, self.params)
    def request(self, **kwargs):
        channel = "/v1/mmp_state"

        return RestApiSyncClient(**kwargs).request_process(HttpMethod.GET_PRIVATE, channel, self.params)
    def request(self, **kwargs):
        channel = "/v1/close_positions"

        return RestApiSyncClient(**kwargs).request_process(HttpMethod.POST_PRIVATE, channel, self.params)
    def request(self, **kwargs):
        channel = "/v1/user/deliveries"

        return RestApiSyncClient(**kwargs).request_process(
            HttpMethod.GET_PRIVATE, channel, self.params)
Exemple #7
0
    def request(self, **kwargs):
        channel = "/v1/system/version"

        return RestApiSyncClient(**kwargs).request_process(
            HttpMethod.GET_PUBLIC, channel, self.params)
    def request(self, **kwargs):
        channel = "/v1/funding_rate_history"

        return RestApiSyncClient(**kwargs).request_process(HttpMethod.GET_PUBLIC, channel, self.params)
Exemple #9
0
    def request(self, **kwargs):
        channel = "/v1/system/cancel_only_status"

        return RestApiSyncClient(**kwargs).request_process(
            HttpMethod.GET_PRIVATE, channel, self.params)
    def request(self, **kwargs):
        channel = "/v1/platform_blocktrades"

        return RestApiSyncClient(**kwargs).request_process(HttpMethod.GET_PRIVATE, channel, self.params)
    def request(self, **kwargs):
        channel = "/v1/update_mmp_config"

        return RestApiSyncClient(**kwargs).request_process(
            HttpMethod.POST_PRIVATE, channel, self.params)