Make order request methods be venue aware
parent
f36061a149
commit
98f6d85b65
|
@ -655,7 +655,7 @@ class Client:
|
||||||
'Submitting ReST order request:\n'
|
'Submitting ReST order request:\n'
|
||||||
f'{pformat(params)}'
|
f'{pformat(params)}'
|
||||||
)
|
)
|
||||||
resp = await self._api(
|
resp = await self.mkt_mode_req[self.mkt_mode](
|
||||||
'order',
|
'order',
|
||||||
params=params,
|
params=params,
|
||||||
signed=True,
|
signed=True,
|
||||||
|
@ -687,7 +687,7 @@ class Client:
|
||||||
'Submitting ReST order cancel: {oid}\n'
|
'Submitting ReST order cancel: {oid}\n'
|
||||||
f'{pformat(params)}'
|
f'{pformat(params)}'
|
||||||
)
|
)
|
||||||
return await self._api(
|
await self.mkt_mode_req[self.mkt_mode](
|
||||||
'order',
|
'order',
|
||||||
params=params,
|
params=params,
|
||||||
signed=True,
|
signed=True,
|
||||||
|
|
Loading…
Reference in New Issue