Skip to content

Commit 9746f54

Browse files
authored
update rfq api (#156)
1 parent 1092937 commit 9746f54

28 files changed

Lines changed: 6048 additions & 1410 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ openapi-generator-cli.jar
6969
.idea
7070

7171
examples/secrets.py
72+
examples/system_setup_local.py
7273

7374
# Environment variables
7475
.env

.openapi-generator/FILES

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,17 @@ docs/PositionFundings.md
7474
docs/PublicPoolInfo.md
7575
docs/PublicPoolMetadata.md
7676
docs/PublicPoolShare.md
77+
docs/RFQEntry.md
78+
docs/RFQMetadata.md
79+
docs/RFQResponseEntry.md
7780
docs/Referral.md
7881
docs/ReferralApi.md
7982
docs/ReferralCode.md
8083
docs/ReferralPointEntry.md
8184
docs/ReferralPoints.md
8285
docs/ReqSetAccountMetadata.md
8386
docs/RespChangeAccountTier.md
87+
docs/RespCreateRFQ.md
8488
docs/RespGetApiTokens.md
8589
docs/RespGetExchangeMetrics.md
8690
docs/RespGetExecuteStats.md
@@ -89,13 +93,18 @@ docs/RespGetFastwithdrawalInfo.md
8993
docs/RespGetLeaseOptions.md
9094
docs/RespGetLeases.md
9195
docs/RespGetMakerOnlyApiKeys.md
96+
docs/RespGetRFQ.md
97+
docs/RespListRFQs.md
9298
docs/RespPostApiToken.md
9399
docs/RespPublicPoolsMetadata.md
100+
docs/RespRespondToRFQ.md
94101
docs/RespRevokeApiToken.md
95102
docs/RespSendTx.md
96103
docs/RespSendTxBatch.md
97104
docs/RespSetMakerOnlyApiKeys.md
105+
docs/RespSyntheticSpotInfo.md
98106
docs/RespUpdateKickback.md
107+
docs/RespUpdateRFQ.md
99108
docs/RespUpdateReferralCode.md
100109
docs/RespWithdrawalDelay.md
101110
docs/ResultCode.md
@@ -220,6 +229,7 @@ lighter/models/referral_point_entry.py
220229
lighter/models/referral_points.py
221230
lighter/models/req_set_account_metadata.py
222231
lighter/models/resp_change_account_tier.py
232+
lighter/models/resp_create_rfq.py
223233
lighter/models/resp_get_api_tokens.py
224234
lighter/models/resp_get_exchange_metrics.py
225235
lighter/models/resp_get_execute_stats.py
@@ -228,16 +238,24 @@ lighter/models/resp_get_fastwithdrawal_info.py
228238
lighter/models/resp_get_lease_options.py
229239
lighter/models/resp_get_leases.py
230240
lighter/models/resp_get_maker_only_api_keys.py
241+
lighter/models/resp_get_rfq.py
242+
lighter/models/resp_list_rfqs.py
231243
lighter/models/resp_post_api_token.py
232244
lighter/models/resp_public_pools_metadata.py
245+
lighter/models/resp_respond_to_rfq.py
233246
lighter/models/resp_revoke_api_token.py
234247
lighter/models/resp_send_tx.py
235248
lighter/models/resp_send_tx_batch.py
236249
lighter/models/resp_set_maker_only_api_keys.py
250+
lighter/models/resp_synthetic_spot_info.py
237251
lighter/models/resp_update_kickback.py
238252
lighter/models/resp_update_referral_code.py
253+
lighter/models/resp_update_rfq.py
239254
lighter/models/resp_withdrawal_delay.py
240255
lighter/models/result_code.py
256+
lighter/models/rfq_entry.py
257+
lighter/models/rfq_metadata.py
258+
lighter/models/rfq_response_entry.py
241259
lighter/models/risk_info.py
242260
lighter/models/risk_parameters.py
243261
lighter/models/share_price.py

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ Class | Method | HTTP request | Description
7272
*AccountApi* | [**position_funding**](docs/AccountApi.md#position_funding) | **GET** /api/v1/positionFunding | positionFunding
7373
*AccountApi* | [**public_pools_metadata**](docs/AccountApi.md#public_pools_metadata) | **GET** /api/v1/publicPoolsMetadata | publicPoolsMetadata
7474
*AccountApi* | [**referral_user_referrals**](docs/AccountApi.md#referral_user_referrals) | **GET** /api/v1/referral/userReferrals | userReferrals
75+
*AccountApi* | [**rfq_create**](docs/AccountApi.md#rfq_create) | **POST** /api/v1/rfq/create | rfq_create
76+
*AccountApi* | [**rfq_get**](docs/AccountApi.md#rfq_get) | **GET** /api/v1/rfq/get | rfq_get
77+
*AccountApi* | [**rfq_list**](docs/AccountApi.md#rfq_list) | **GET** /api/v1/rfq/list | rfq_list
78+
*AccountApi* | [**rfq_respond**](docs/AccountApi.md#rfq_respond) | **POST** /api/v1/rfq/respond | rfq_respond
79+
*AccountApi* | [**rfq_update**](docs/AccountApi.md#rfq_update) | **POST** /api/v1/rfq/update | rfq_update
7580
*AccountApi* | [**set_maker_only_api_keys**](docs/AccountApi.md#set_maker_only_api_keys) | **POST** /api/v1/setMakerOnlyApiKeys | setMakerOnlyApiKeys
7681
*AccountApi* | [**tokens**](docs/AccountApi.md#tokens) | **GET** /api/v1/tokens | tokens
7782
*AccountApi* | [**tokens_create**](docs/AccountApi.md#tokens_create) | **POST** /api/v1/tokens/create | tokens_create
@@ -90,6 +95,7 @@ Class | Method | HTTP request | Description
9095
*CandlestickApi* | [**fundings**](docs/CandlestickApi.md#fundings) | **GET** /api/v1/fundings | fundings
9196
*FundingApi* | [**funding_rates**](docs/FundingApi.md#funding_rates) | **GET** /api/v1/funding-rates | funding-rates
9297
*InfoApi* | [**layer1_basic_info**](docs/InfoApi.md#layer1_basic_info) | **GET** /api/v1/layer1BasicInfo | layer1BasicInfo
98+
*InfoApi* | [**synthetic_spot_info**](docs/InfoApi.md#synthetic_spot_info) | **GET** /api/v1/syntheticSpotInfo | syntheticSpotInfo
9399
*InfoApi* | [**system_config**](docs/InfoApi.md#system_config) | **GET** /api/v1/systemConfig | systemConfig
94100
*InfoApi* | [**transfer_fee_info**](docs/InfoApi.md#transfer_fee_info) | **GET** /api/v1/transferFeeInfo | transferFeeInfo
95101
*InfoApi* | [**withdrawal_delay**](docs/InfoApi.md#withdrawal_delay) | **GET** /api/v1/withdrawalDelay | withdrawalDelay
@@ -182,7 +188,6 @@ Class | Method | HTTP request | Description
182188
- [NextNonce](docs/NextNonce.md)
183189
- [Order](docs/Order.md)
184190
- [OrderBook](docs/OrderBook.md)
185-
- [OrderBookDepth](docs/OrderBookDepth.md)
186191
- [OrderBookDetails](docs/OrderBookDetails.md)
187192
- [OrderBookOrders](docs/OrderBookOrders.md)
188193
- [OrderBookStats](docs/OrderBookStats.md)
@@ -194,16 +199,19 @@ Class | Method | HTTP request | Description
194199
- [PnLEntry](docs/PnLEntry.md)
195200
- [PositionFunding](docs/PositionFunding.md)
196201
- [PositionFundings](docs/PositionFundings.md)
197-
- [PriceLevel](docs/PriceLevel.md)
198202
- [PublicPoolInfo](docs/PublicPoolInfo.md)
199203
- [PublicPoolMetadata](docs/PublicPoolMetadata.md)
200204
- [PublicPoolShare](docs/PublicPoolShare.md)
205+
- [RFQEntry](docs/RFQEntry.md)
206+
- [RFQMetadata](docs/RFQMetadata.md)
207+
- [RFQResponseEntry](docs/RFQResponseEntry.md)
201208
- [Referral](docs/Referral.md)
202209
- [ReferralCode](docs/ReferralCode.md)
203210
- [ReferralPointEntry](docs/ReferralPointEntry.md)
204211
- [ReferralPoints](docs/ReferralPoints.md)
205212
- [ReqSetAccountMetadata](docs/ReqSetAccountMetadata.md)
206213
- [RespChangeAccountTier](docs/RespChangeAccountTier.md)
214+
- [RespCreateRFQ](docs/RespCreateRFQ.md)
207215
- [RespGetApiTokens](docs/RespGetApiTokens.md)
208216
- [RespGetExchangeMetrics](docs/RespGetExchangeMetrics.md)
209217
- [RespGetExecuteStats](docs/RespGetExecuteStats.md)
@@ -212,13 +220,18 @@ Class | Method | HTTP request | Description
212220
- [RespGetLeaseOptions](docs/RespGetLeaseOptions.md)
213221
- [RespGetLeases](docs/RespGetLeases.md)
214222
- [RespGetMakerOnlyApiKeys](docs/RespGetMakerOnlyApiKeys.md)
223+
- [RespGetRFQ](docs/RespGetRFQ.md)
224+
- [RespListRFQs](docs/RespListRFQs.md)
215225
- [RespPostApiToken](docs/RespPostApiToken.md)
216226
- [RespPublicPoolsMetadata](docs/RespPublicPoolsMetadata.md)
227+
- [RespRespondToRFQ](docs/RespRespondToRFQ.md)
217228
- [RespRevokeApiToken](docs/RespRevokeApiToken.md)
218229
- [RespSendTx](docs/RespSendTx.md)
219230
- [RespSendTxBatch](docs/RespSendTxBatch.md)
220231
- [RespSetMakerOnlyApiKeys](docs/RespSetMakerOnlyApiKeys.md)
232+
- [RespSyntheticSpotInfo](docs/RespSyntheticSpotInfo.md)
221233
- [RespUpdateKickback](docs/RespUpdateKickback.md)
234+
- [RespUpdateRFQ](docs/RespUpdateRFQ.md)
222235
- [RespUpdateReferralCode](docs/RespUpdateReferralCode.md)
223236
- [RespWithdrawalDelay](docs/RespWithdrawalDelay.md)
224237
- [ResultCode](docs/ResultCode.md)

0 commit comments

Comments
 (0)