pmxtjs 2.25.2 → 2.25.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/generated/src/apis/DefaultApi.d.ts +58 -0
- package/dist/esm/generated/src/apis/DefaultApi.js +87 -29
- package/dist/esm/index.d.ts +6 -2
- package/dist/esm/index.js +6 -2
- package/dist/esm/pmxt/client.d.ts +62 -0
- package/dist/esm/pmxt/client.js +70 -0
- package/dist/generated/src/apis/DefaultApi.d.ts +58 -0
- package/dist/generated/src/apis/DefaultApi.js +87 -29
- package/dist/index.d.ts +6 -2
- package/dist/index.js +9 -1
- package/dist/pmxt/client.d.ts +62 -0
- package/dist/pmxt/client.js +75 -1
- package/generated/docs/DefaultApi.md +58 -58
- package/generated/package.json +1 -1
- package/generated/src/apis/DefaultApi.ts +87 -29
- package/index.ts +6 -2
- package/package.json +2 -2
- package/pmxt/client.ts +74 -0
|
@@ -947,13 +947,15 @@ exports.DefaultApi = DefaultApi;
|
|
|
947
947
|
exports.BuildOrderOperationExchangeEnum = {
|
|
948
948
|
Polymarket: 'polymarket',
|
|
949
949
|
Kalshi: 'kalshi',
|
|
950
|
+
KalshiDemo: 'kalshi-demo',
|
|
950
951
|
Limitless: 'limitless',
|
|
951
952
|
Probable: 'probable',
|
|
952
953
|
Baozi: 'baozi',
|
|
953
954
|
Myriad: 'myriad',
|
|
954
955
|
Opinion: 'opinion',
|
|
955
956
|
Metaculus: 'metaculus',
|
|
956
|
-
Smarkets: 'smarkets'
|
|
957
|
+
Smarkets: 'smarkets',
|
|
958
|
+
PolymarketUs: 'polymarket_us'
|
|
957
959
|
};
|
|
958
960
|
/**
|
|
959
961
|
* @export
|
|
@@ -961,13 +963,15 @@ exports.BuildOrderOperationExchangeEnum = {
|
|
|
961
963
|
exports.CancelOrderOperationExchangeEnum = {
|
|
962
964
|
Polymarket: 'polymarket',
|
|
963
965
|
Kalshi: 'kalshi',
|
|
966
|
+
KalshiDemo: 'kalshi-demo',
|
|
964
967
|
Limitless: 'limitless',
|
|
965
968
|
Probable: 'probable',
|
|
966
969
|
Baozi: 'baozi',
|
|
967
970
|
Myriad: 'myriad',
|
|
968
971
|
Opinion: 'opinion',
|
|
969
972
|
Metaculus: 'metaculus',
|
|
970
|
-
Smarkets: 'smarkets'
|
|
973
|
+
Smarkets: 'smarkets',
|
|
974
|
+
PolymarketUs: 'polymarket_us'
|
|
971
975
|
};
|
|
972
976
|
/**
|
|
973
977
|
* @export
|
|
@@ -975,13 +979,15 @@ exports.CancelOrderOperationExchangeEnum = {
|
|
|
975
979
|
exports.CloseOperationExchangeEnum = {
|
|
976
980
|
Polymarket: 'polymarket',
|
|
977
981
|
Kalshi: 'kalshi',
|
|
982
|
+
KalshiDemo: 'kalshi-demo',
|
|
978
983
|
Limitless: 'limitless',
|
|
979
984
|
Probable: 'probable',
|
|
980
985
|
Baozi: 'baozi',
|
|
981
986
|
Myriad: 'myriad',
|
|
982
987
|
Opinion: 'opinion',
|
|
983
988
|
Metaculus: 'metaculus',
|
|
984
|
-
Smarkets: 'smarkets'
|
|
989
|
+
Smarkets: 'smarkets',
|
|
990
|
+
PolymarketUs: 'polymarket_us'
|
|
985
991
|
};
|
|
986
992
|
/**
|
|
987
993
|
* @export
|
|
@@ -989,13 +995,15 @@ exports.CloseOperationExchangeEnum = {
|
|
|
989
995
|
exports.CreateOrderOperationExchangeEnum = {
|
|
990
996
|
Polymarket: 'polymarket',
|
|
991
997
|
Kalshi: 'kalshi',
|
|
998
|
+
KalshiDemo: 'kalshi-demo',
|
|
992
999
|
Limitless: 'limitless',
|
|
993
1000
|
Probable: 'probable',
|
|
994
1001
|
Baozi: 'baozi',
|
|
995
1002
|
Myriad: 'myriad',
|
|
996
1003
|
Opinion: 'opinion',
|
|
997
1004
|
Metaculus: 'metaculus',
|
|
998
|
-
Smarkets: 'smarkets'
|
|
1005
|
+
Smarkets: 'smarkets',
|
|
1006
|
+
PolymarketUs: 'polymarket_us'
|
|
999
1007
|
};
|
|
1000
1008
|
/**
|
|
1001
1009
|
* @export
|
|
@@ -1003,13 +1011,15 @@ exports.CreateOrderOperationExchangeEnum = {
|
|
|
1003
1011
|
exports.FetchAllOrdersOperationExchangeEnum = {
|
|
1004
1012
|
Polymarket: 'polymarket',
|
|
1005
1013
|
Kalshi: 'kalshi',
|
|
1014
|
+
KalshiDemo: 'kalshi-demo',
|
|
1006
1015
|
Limitless: 'limitless',
|
|
1007
1016
|
Probable: 'probable',
|
|
1008
1017
|
Baozi: 'baozi',
|
|
1009
1018
|
Myriad: 'myriad',
|
|
1010
1019
|
Opinion: 'opinion',
|
|
1011
1020
|
Metaculus: 'metaculus',
|
|
1012
|
-
Smarkets: 'smarkets'
|
|
1021
|
+
Smarkets: 'smarkets',
|
|
1022
|
+
PolymarketUs: 'polymarket_us'
|
|
1013
1023
|
};
|
|
1014
1024
|
/**
|
|
1015
1025
|
* @export
|
|
@@ -1017,13 +1027,15 @@ exports.FetchAllOrdersOperationExchangeEnum = {
|
|
|
1017
1027
|
exports.FetchBalanceOperationExchangeEnum = {
|
|
1018
1028
|
Polymarket: 'polymarket',
|
|
1019
1029
|
Kalshi: 'kalshi',
|
|
1030
|
+
KalshiDemo: 'kalshi-demo',
|
|
1020
1031
|
Limitless: 'limitless',
|
|
1021
1032
|
Probable: 'probable',
|
|
1022
1033
|
Baozi: 'baozi',
|
|
1023
1034
|
Myriad: 'myriad',
|
|
1024
1035
|
Opinion: 'opinion',
|
|
1025
1036
|
Metaculus: 'metaculus',
|
|
1026
|
-
Smarkets: 'smarkets'
|
|
1037
|
+
Smarkets: 'smarkets',
|
|
1038
|
+
PolymarketUs: 'polymarket_us'
|
|
1027
1039
|
};
|
|
1028
1040
|
/**
|
|
1029
1041
|
* @export
|
|
@@ -1031,13 +1043,15 @@ exports.FetchBalanceOperationExchangeEnum = {
|
|
|
1031
1043
|
exports.FetchClosedOrdersOperationExchangeEnum = {
|
|
1032
1044
|
Polymarket: 'polymarket',
|
|
1033
1045
|
Kalshi: 'kalshi',
|
|
1046
|
+
KalshiDemo: 'kalshi-demo',
|
|
1034
1047
|
Limitless: 'limitless',
|
|
1035
1048
|
Probable: 'probable',
|
|
1036
1049
|
Baozi: 'baozi',
|
|
1037
1050
|
Myriad: 'myriad',
|
|
1038
1051
|
Opinion: 'opinion',
|
|
1039
1052
|
Metaculus: 'metaculus',
|
|
1040
|
-
Smarkets: 'smarkets'
|
|
1053
|
+
Smarkets: 'smarkets',
|
|
1054
|
+
PolymarketUs: 'polymarket_us'
|
|
1041
1055
|
};
|
|
1042
1056
|
/**
|
|
1043
1057
|
* @export
|
|
@@ -1045,13 +1059,15 @@ exports.FetchClosedOrdersOperationExchangeEnum = {
|
|
|
1045
1059
|
exports.FetchEventOperationExchangeEnum = {
|
|
1046
1060
|
Polymarket: 'polymarket',
|
|
1047
1061
|
Kalshi: 'kalshi',
|
|
1062
|
+
KalshiDemo: 'kalshi-demo',
|
|
1048
1063
|
Limitless: 'limitless',
|
|
1049
1064
|
Probable: 'probable',
|
|
1050
1065
|
Baozi: 'baozi',
|
|
1051
1066
|
Myriad: 'myriad',
|
|
1052
1067
|
Opinion: 'opinion',
|
|
1053
1068
|
Metaculus: 'metaculus',
|
|
1054
|
-
Smarkets: 'smarkets'
|
|
1069
|
+
Smarkets: 'smarkets',
|
|
1070
|
+
PolymarketUs: 'polymarket_us'
|
|
1055
1071
|
};
|
|
1056
1072
|
/**
|
|
1057
1073
|
* @export
|
|
@@ -1059,13 +1075,15 @@ exports.FetchEventOperationExchangeEnum = {
|
|
|
1059
1075
|
exports.FetchEventsOperationExchangeEnum = {
|
|
1060
1076
|
Polymarket: 'polymarket',
|
|
1061
1077
|
Kalshi: 'kalshi',
|
|
1078
|
+
KalshiDemo: 'kalshi-demo',
|
|
1062
1079
|
Limitless: 'limitless',
|
|
1063
1080
|
Probable: 'probable',
|
|
1064
1081
|
Baozi: 'baozi',
|
|
1065
1082
|
Myriad: 'myriad',
|
|
1066
1083
|
Opinion: 'opinion',
|
|
1067
1084
|
Metaculus: 'metaculus',
|
|
1068
|
-
Smarkets: 'smarkets'
|
|
1085
|
+
Smarkets: 'smarkets',
|
|
1086
|
+
PolymarketUs: 'polymarket_us'
|
|
1069
1087
|
};
|
|
1070
1088
|
/**
|
|
1071
1089
|
* @export
|
|
@@ -1073,13 +1091,15 @@ exports.FetchEventsOperationExchangeEnum = {
|
|
|
1073
1091
|
exports.FetchMarketOperationExchangeEnum = {
|
|
1074
1092
|
Polymarket: 'polymarket',
|
|
1075
1093
|
Kalshi: 'kalshi',
|
|
1094
|
+
KalshiDemo: 'kalshi-demo',
|
|
1076
1095
|
Limitless: 'limitless',
|
|
1077
1096
|
Probable: 'probable',
|
|
1078
1097
|
Baozi: 'baozi',
|
|
1079
1098
|
Myriad: 'myriad',
|
|
1080
1099
|
Opinion: 'opinion',
|
|
1081
1100
|
Metaculus: 'metaculus',
|
|
1082
|
-
Smarkets: 'smarkets'
|
|
1101
|
+
Smarkets: 'smarkets',
|
|
1102
|
+
PolymarketUs: 'polymarket_us'
|
|
1083
1103
|
};
|
|
1084
1104
|
/**
|
|
1085
1105
|
* @export
|
|
@@ -1087,13 +1107,15 @@ exports.FetchMarketOperationExchangeEnum = {
|
|
|
1087
1107
|
exports.FetchMarketsOperationExchangeEnum = {
|
|
1088
1108
|
Polymarket: 'polymarket',
|
|
1089
1109
|
Kalshi: 'kalshi',
|
|
1110
|
+
KalshiDemo: 'kalshi-demo',
|
|
1090
1111
|
Limitless: 'limitless',
|
|
1091
1112
|
Probable: 'probable',
|
|
1092
1113
|
Baozi: 'baozi',
|
|
1093
1114
|
Myriad: 'myriad',
|
|
1094
1115
|
Opinion: 'opinion',
|
|
1095
1116
|
Metaculus: 'metaculus',
|
|
1096
|
-
Smarkets: 'smarkets'
|
|
1117
|
+
Smarkets: 'smarkets',
|
|
1118
|
+
PolymarketUs: 'polymarket_us'
|
|
1097
1119
|
};
|
|
1098
1120
|
/**
|
|
1099
1121
|
* @export
|
|
@@ -1101,13 +1123,15 @@ exports.FetchMarketsOperationExchangeEnum = {
|
|
|
1101
1123
|
exports.FetchMarketsPaginatedOperationExchangeEnum = {
|
|
1102
1124
|
Polymarket: 'polymarket',
|
|
1103
1125
|
Kalshi: 'kalshi',
|
|
1126
|
+
KalshiDemo: 'kalshi-demo',
|
|
1104
1127
|
Limitless: 'limitless',
|
|
1105
1128
|
Probable: 'probable',
|
|
1106
1129
|
Baozi: 'baozi',
|
|
1107
1130
|
Myriad: 'myriad',
|
|
1108
1131
|
Opinion: 'opinion',
|
|
1109
1132
|
Metaculus: 'metaculus',
|
|
1110
|
-
Smarkets: 'smarkets'
|
|
1133
|
+
Smarkets: 'smarkets',
|
|
1134
|
+
PolymarketUs: 'polymarket_us'
|
|
1111
1135
|
};
|
|
1112
1136
|
/**
|
|
1113
1137
|
* @export
|
|
@@ -1115,13 +1139,15 @@ exports.FetchMarketsPaginatedOperationExchangeEnum = {
|
|
|
1115
1139
|
exports.FetchMyTradesOperationExchangeEnum = {
|
|
1116
1140
|
Polymarket: 'polymarket',
|
|
1117
1141
|
Kalshi: 'kalshi',
|
|
1142
|
+
KalshiDemo: 'kalshi-demo',
|
|
1118
1143
|
Limitless: 'limitless',
|
|
1119
1144
|
Probable: 'probable',
|
|
1120
1145
|
Baozi: 'baozi',
|
|
1121
1146
|
Myriad: 'myriad',
|
|
1122
1147
|
Opinion: 'opinion',
|
|
1123
1148
|
Metaculus: 'metaculus',
|
|
1124
|
-
Smarkets: 'smarkets'
|
|
1149
|
+
Smarkets: 'smarkets',
|
|
1150
|
+
PolymarketUs: 'polymarket_us'
|
|
1125
1151
|
};
|
|
1126
1152
|
/**
|
|
1127
1153
|
* @export
|
|
@@ -1129,13 +1155,15 @@ exports.FetchMyTradesOperationExchangeEnum = {
|
|
|
1129
1155
|
exports.FetchOHLCVOperationExchangeEnum = {
|
|
1130
1156
|
Polymarket: 'polymarket',
|
|
1131
1157
|
Kalshi: 'kalshi',
|
|
1158
|
+
KalshiDemo: 'kalshi-demo',
|
|
1132
1159
|
Limitless: 'limitless',
|
|
1133
1160
|
Probable: 'probable',
|
|
1134
1161
|
Baozi: 'baozi',
|
|
1135
1162
|
Myriad: 'myriad',
|
|
1136
1163
|
Opinion: 'opinion',
|
|
1137
1164
|
Metaculus: 'metaculus',
|
|
1138
|
-
Smarkets: 'smarkets'
|
|
1165
|
+
Smarkets: 'smarkets',
|
|
1166
|
+
PolymarketUs: 'polymarket_us'
|
|
1139
1167
|
};
|
|
1140
1168
|
/**
|
|
1141
1169
|
* @export
|
|
@@ -1143,13 +1171,15 @@ exports.FetchOHLCVOperationExchangeEnum = {
|
|
|
1143
1171
|
exports.FetchOpenOrdersOperationExchangeEnum = {
|
|
1144
1172
|
Polymarket: 'polymarket',
|
|
1145
1173
|
Kalshi: 'kalshi',
|
|
1174
|
+
KalshiDemo: 'kalshi-demo',
|
|
1146
1175
|
Limitless: 'limitless',
|
|
1147
1176
|
Probable: 'probable',
|
|
1148
1177
|
Baozi: 'baozi',
|
|
1149
1178
|
Myriad: 'myriad',
|
|
1150
1179
|
Opinion: 'opinion',
|
|
1151
1180
|
Metaculus: 'metaculus',
|
|
1152
|
-
Smarkets: 'smarkets'
|
|
1181
|
+
Smarkets: 'smarkets',
|
|
1182
|
+
PolymarketUs: 'polymarket_us'
|
|
1153
1183
|
};
|
|
1154
1184
|
/**
|
|
1155
1185
|
* @export
|
|
@@ -1157,13 +1187,15 @@ exports.FetchOpenOrdersOperationExchangeEnum = {
|
|
|
1157
1187
|
exports.FetchOrderOperationExchangeEnum = {
|
|
1158
1188
|
Polymarket: 'polymarket',
|
|
1159
1189
|
Kalshi: 'kalshi',
|
|
1190
|
+
KalshiDemo: 'kalshi-demo',
|
|
1160
1191
|
Limitless: 'limitless',
|
|
1161
1192
|
Probable: 'probable',
|
|
1162
1193
|
Baozi: 'baozi',
|
|
1163
1194
|
Myriad: 'myriad',
|
|
1164
1195
|
Opinion: 'opinion',
|
|
1165
1196
|
Metaculus: 'metaculus',
|
|
1166
|
-
Smarkets: 'smarkets'
|
|
1197
|
+
Smarkets: 'smarkets',
|
|
1198
|
+
PolymarketUs: 'polymarket_us'
|
|
1167
1199
|
};
|
|
1168
1200
|
/**
|
|
1169
1201
|
* @export
|
|
@@ -1171,13 +1203,15 @@ exports.FetchOrderOperationExchangeEnum = {
|
|
|
1171
1203
|
exports.FetchOrderBookOperationExchangeEnum = {
|
|
1172
1204
|
Polymarket: 'polymarket',
|
|
1173
1205
|
Kalshi: 'kalshi',
|
|
1206
|
+
KalshiDemo: 'kalshi-demo',
|
|
1174
1207
|
Limitless: 'limitless',
|
|
1175
1208
|
Probable: 'probable',
|
|
1176
1209
|
Baozi: 'baozi',
|
|
1177
1210
|
Myriad: 'myriad',
|
|
1178
1211
|
Opinion: 'opinion',
|
|
1179
1212
|
Metaculus: 'metaculus',
|
|
1180
|
-
Smarkets: 'smarkets'
|
|
1213
|
+
Smarkets: 'smarkets',
|
|
1214
|
+
PolymarketUs: 'polymarket_us'
|
|
1181
1215
|
};
|
|
1182
1216
|
/**
|
|
1183
1217
|
* @export
|
|
@@ -1185,13 +1219,15 @@ exports.FetchOrderBookOperationExchangeEnum = {
|
|
|
1185
1219
|
exports.FetchPositionsOperationExchangeEnum = {
|
|
1186
1220
|
Polymarket: 'polymarket',
|
|
1187
1221
|
Kalshi: 'kalshi',
|
|
1222
|
+
KalshiDemo: 'kalshi-demo',
|
|
1188
1223
|
Limitless: 'limitless',
|
|
1189
1224
|
Probable: 'probable',
|
|
1190
1225
|
Baozi: 'baozi',
|
|
1191
1226
|
Myriad: 'myriad',
|
|
1192
1227
|
Opinion: 'opinion',
|
|
1193
1228
|
Metaculus: 'metaculus',
|
|
1194
|
-
Smarkets: 'smarkets'
|
|
1229
|
+
Smarkets: 'smarkets',
|
|
1230
|
+
PolymarketUs: 'polymarket_us'
|
|
1195
1231
|
};
|
|
1196
1232
|
/**
|
|
1197
1233
|
* @export
|
|
@@ -1199,13 +1235,15 @@ exports.FetchPositionsOperationExchangeEnum = {
|
|
|
1199
1235
|
exports.FetchTradesOperationExchangeEnum = {
|
|
1200
1236
|
Polymarket: 'polymarket',
|
|
1201
1237
|
Kalshi: 'kalshi',
|
|
1238
|
+
KalshiDemo: 'kalshi-demo',
|
|
1202
1239
|
Limitless: 'limitless',
|
|
1203
1240
|
Probable: 'probable',
|
|
1204
1241
|
Baozi: 'baozi',
|
|
1205
1242
|
Myriad: 'myriad',
|
|
1206
1243
|
Opinion: 'opinion',
|
|
1207
1244
|
Metaculus: 'metaculus',
|
|
1208
|
-
Smarkets: 'smarkets'
|
|
1245
|
+
Smarkets: 'smarkets',
|
|
1246
|
+
PolymarketUs: 'polymarket_us'
|
|
1209
1247
|
};
|
|
1210
1248
|
/**
|
|
1211
1249
|
* @export
|
|
@@ -1213,13 +1251,15 @@ exports.FetchTradesOperationExchangeEnum = {
|
|
|
1213
1251
|
exports.FilterEventsOperationExchangeEnum = {
|
|
1214
1252
|
Polymarket: 'polymarket',
|
|
1215
1253
|
Kalshi: 'kalshi',
|
|
1254
|
+
KalshiDemo: 'kalshi-demo',
|
|
1216
1255
|
Limitless: 'limitless',
|
|
1217
1256
|
Probable: 'probable',
|
|
1218
1257
|
Baozi: 'baozi',
|
|
1219
1258
|
Myriad: 'myriad',
|
|
1220
1259
|
Opinion: 'opinion',
|
|
1221
1260
|
Metaculus: 'metaculus',
|
|
1222
|
-
Smarkets: 'smarkets'
|
|
1261
|
+
Smarkets: 'smarkets',
|
|
1262
|
+
PolymarketUs: 'polymarket_us'
|
|
1223
1263
|
};
|
|
1224
1264
|
/**
|
|
1225
1265
|
* @export
|
|
@@ -1227,13 +1267,15 @@ exports.FilterEventsOperationExchangeEnum = {
|
|
|
1227
1267
|
exports.FilterMarketsOperationExchangeEnum = {
|
|
1228
1268
|
Polymarket: 'polymarket',
|
|
1229
1269
|
Kalshi: 'kalshi',
|
|
1270
|
+
KalshiDemo: 'kalshi-demo',
|
|
1230
1271
|
Limitless: 'limitless',
|
|
1231
1272
|
Probable: 'probable',
|
|
1232
1273
|
Baozi: 'baozi',
|
|
1233
1274
|
Myriad: 'myriad',
|
|
1234
1275
|
Opinion: 'opinion',
|
|
1235
1276
|
Metaculus: 'metaculus',
|
|
1236
|
-
Smarkets: 'smarkets'
|
|
1277
|
+
Smarkets: 'smarkets',
|
|
1278
|
+
PolymarketUs: 'polymarket_us'
|
|
1237
1279
|
};
|
|
1238
1280
|
/**
|
|
1239
1281
|
* @export
|
|
@@ -1241,13 +1283,15 @@ exports.FilterMarketsOperationExchangeEnum = {
|
|
|
1241
1283
|
exports.GetExecutionPriceOperationExchangeEnum = {
|
|
1242
1284
|
Polymarket: 'polymarket',
|
|
1243
1285
|
Kalshi: 'kalshi',
|
|
1286
|
+
KalshiDemo: 'kalshi-demo',
|
|
1244
1287
|
Limitless: 'limitless',
|
|
1245
1288
|
Probable: 'probable',
|
|
1246
1289
|
Baozi: 'baozi',
|
|
1247
1290
|
Myriad: 'myriad',
|
|
1248
1291
|
Opinion: 'opinion',
|
|
1249
1292
|
Metaculus: 'metaculus',
|
|
1250
|
-
Smarkets: 'smarkets'
|
|
1293
|
+
Smarkets: 'smarkets',
|
|
1294
|
+
PolymarketUs: 'polymarket_us'
|
|
1251
1295
|
};
|
|
1252
1296
|
/**
|
|
1253
1297
|
* @export
|
|
@@ -1255,13 +1299,15 @@ exports.GetExecutionPriceOperationExchangeEnum = {
|
|
|
1255
1299
|
exports.GetExecutionPriceDetailedOperationExchangeEnum = {
|
|
1256
1300
|
Polymarket: 'polymarket',
|
|
1257
1301
|
Kalshi: 'kalshi',
|
|
1302
|
+
KalshiDemo: 'kalshi-demo',
|
|
1258
1303
|
Limitless: 'limitless',
|
|
1259
1304
|
Probable: 'probable',
|
|
1260
1305
|
Baozi: 'baozi',
|
|
1261
1306
|
Myriad: 'myriad',
|
|
1262
1307
|
Opinion: 'opinion',
|
|
1263
1308
|
Metaculus: 'metaculus',
|
|
1264
|
-
Smarkets: 'smarkets'
|
|
1309
|
+
Smarkets: 'smarkets',
|
|
1310
|
+
PolymarketUs: 'polymarket_us'
|
|
1265
1311
|
};
|
|
1266
1312
|
/**
|
|
1267
1313
|
* @export
|
|
@@ -1269,13 +1315,15 @@ exports.GetExecutionPriceDetailedOperationExchangeEnum = {
|
|
|
1269
1315
|
exports.LoadMarketsOperationExchangeEnum = {
|
|
1270
1316
|
Polymarket: 'polymarket',
|
|
1271
1317
|
Kalshi: 'kalshi',
|
|
1318
|
+
KalshiDemo: 'kalshi-demo',
|
|
1272
1319
|
Limitless: 'limitless',
|
|
1273
1320
|
Probable: 'probable',
|
|
1274
1321
|
Baozi: 'baozi',
|
|
1275
1322
|
Myriad: 'myriad',
|
|
1276
1323
|
Opinion: 'opinion',
|
|
1277
1324
|
Metaculus: 'metaculus',
|
|
1278
|
-
Smarkets: 'smarkets'
|
|
1325
|
+
Smarkets: 'smarkets',
|
|
1326
|
+
PolymarketUs: 'polymarket_us'
|
|
1279
1327
|
};
|
|
1280
1328
|
/**
|
|
1281
1329
|
* @export
|
|
@@ -1283,13 +1331,15 @@ exports.LoadMarketsOperationExchangeEnum = {
|
|
|
1283
1331
|
exports.SubmitOrderOperationExchangeEnum = {
|
|
1284
1332
|
Polymarket: 'polymarket',
|
|
1285
1333
|
Kalshi: 'kalshi',
|
|
1334
|
+
KalshiDemo: 'kalshi-demo',
|
|
1286
1335
|
Limitless: 'limitless',
|
|
1287
1336
|
Probable: 'probable',
|
|
1288
1337
|
Baozi: 'baozi',
|
|
1289
1338
|
Myriad: 'myriad',
|
|
1290
1339
|
Opinion: 'opinion',
|
|
1291
1340
|
Metaculus: 'metaculus',
|
|
1292
|
-
Smarkets: 'smarkets'
|
|
1341
|
+
Smarkets: 'smarkets',
|
|
1342
|
+
PolymarketUs: 'polymarket_us'
|
|
1293
1343
|
};
|
|
1294
1344
|
/**
|
|
1295
1345
|
* @export
|
|
@@ -1297,13 +1347,15 @@ exports.SubmitOrderOperationExchangeEnum = {
|
|
|
1297
1347
|
exports.UnwatchAddressOperationExchangeEnum = {
|
|
1298
1348
|
Polymarket: 'polymarket',
|
|
1299
1349
|
Kalshi: 'kalshi',
|
|
1350
|
+
KalshiDemo: 'kalshi-demo',
|
|
1300
1351
|
Limitless: 'limitless',
|
|
1301
1352
|
Probable: 'probable',
|
|
1302
1353
|
Baozi: 'baozi',
|
|
1303
1354
|
Myriad: 'myriad',
|
|
1304
1355
|
Opinion: 'opinion',
|
|
1305
1356
|
Metaculus: 'metaculus',
|
|
1306
|
-
Smarkets: 'smarkets'
|
|
1357
|
+
Smarkets: 'smarkets',
|
|
1358
|
+
PolymarketUs: 'polymarket_us'
|
|
1307
1359
|
};
|
|
1308
1360
|
/**
|
|
1309
1361
|
* @export
|
|
@@ -1311,13 +1363,15 @@ exports.UnwatchAddressOperationExchangeEnum = {
|
|
|
1311
1363
|
exports.WatchAddressOperationExchangeEnum = {
|
|
1312
1364
|
Polymarket: 'polymarket',
|
|
1313
1365
|
Kalshi: 'kalshi',
|
|
1366
|
+
KalshiDemo: 'kalshi-demo',
|
|
1314
1367
|
Limitless: 'limitless',
|
|
1315
1368
|
Probable: 'probable',
|
|
1316
1369
|
Baozi: 'baozi',
|
|
1317
1370
|
Myriad: 'myriad',
|
|
1318
1371
|
Opinion: 'opinion',
|
|
1319
1372
|
Metaculus: 'metaculus',
|
|
1320
|
-
Smarkets: 'smarkets'
|
|
1373
|
+
Smarkets: 'smarkets',
|
|
1374
|
+
PolymarketUs: 'polymarket_us'
|
|
1321
1375
|
};
|
|
1322
1376
|
/**
|
|
1323
1377
|
* @export
|
|
@@ -1325,13 +1379,15 @@ exports.WatchAddressOperationExchangeEnum = {
|
|
|
1325
1379
|
exports.WatchOrderBookOperationExchangeEnum = {
|
|
1326
1380
|
Polymarket: 'polymarket',
|
|
1327
1381
|
Kalshi: 'kalshi',
|
|
1382
|
+
KalshiDemo: 'kalshi-demo',
|
|
1328
1383
|
Limitless: 'limitless',
|
|
1329
1384
|
Probable: 'probable',
|
|
1330
1385
|
Baozi: 'baozi',
|
|
1331
1386
|
Myriad: 'myriad',
|
|
1332
1387
|
Opinion: 'opinion',
|
|
1333
1388
|
Metaculus: 'metaculus',
|
|
1334
|
-
Smarkets: 'smarkets'
|
|
1389
|
+
Smarkets: 'smarkets',
|
|
1390
|
+
PolymarketUs: 'polymarket_us'
|
|
1335
1391
|
};
|
|
1336
1392
|
/**
|
|
1337
1393
|
* @export
|
|
@@ -1339,11 +1395,13 @@ exports.WatchOrderBookOperationExchangeEnum = {
|
|
|
1339
1395
|
exports.WatchTradesOperationExchangeEnum = {
|
|
1340
1396
|
Polymarket: 'polymarket',
|
|
1341
1397
|
Kalshi: 'kalshi',
|
|
1398
|
+
KalshiDemo: 'kalshi-demo',
|
|
1342
1399
|
Limitless: 'limitless',
|
|
1343
1400
|
Probable: 'probable',
|
|
1344
1401
|
Baozi: 'baozi',
|
|
1345
1402
|
Myriad: 'myriad',
|
|
1346
1403
|
Opinion: 'opinion',
|
|
1347
1404
|
Metaculus: 'metaculus',
|
|
1348
|
-
Smarkets: 'smarkets'
|
|
1405
|
+
Smarkets: 'smarkets',
|
|
1406
|
+
PolymarketUs: 'polymarket_us'
|
|
1349
1407
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
* console.log(markets[0].title);
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
|
-
import { Exchange, Polymarket, Kalshi, KalshiDemo, Limitless, Myriad, Probable, Baozi } from "./pmxt/client.js";
|
|
20
|
+
import { Exchange, Polymarket, Kalshi, KalshiDemo, Limitless, Myriad, Probable, Baozi, Opinion, Metaculus, Smarkets, PolymarketUS } from "./pmxt/client.js";
|
|
21
21
|
import { ServerManager } from "./pmxt/server-manager.js";
|
|
22
22
|
import * as models from "./pmxt/models.js";
|
|
23
23
|
import * as errors from "./pmxt/errors.js";
|
|
24
|
-
export { Exchange, Polymarket, Kalshi, KalshiDemo, Limitless, Myriad, Probable, Baozi, PolymarketOptions } from "./pmxt/client.js";
|
|
24
|
+
export { Exchange, Polymarket, Kalshi, KalshiDemo, Limitless, Myriad, Probable, Baozi, Opinion, Metaculus, Smarkets, PolymarketUS, PolymarketOptions } from "./pmxt/client.js";
|
|
25
25
|
export { ServerManager } from "./pmxt/server-manager.js";
|
|
26
26
|
export { MarketList } from "./pmxt/models.js";
|
|
27
27
|
export type * from "./pmxt/models.js";
|
|
@@ -53,6 +53,10 @@ declare const pmxt: {
|
|
|
53
53
|
Myriad: typeof Myriad;
|
|
54
54
|
Probable: typeof Probable;
|
|
55
55
|
Baozi: typeof Baozi;
|
|
56
|
+
Opinion: typeof Opinion;
|
|
57
|
+
Metaculus: typeof Metaculus;
|
|
58
|
+
Smarkets: typeof Smarkets;
|
|
59
|
+
PolymarketUS: typeof PolymarketUS;
|
|
56
60
|
ServerManager: typeof ServerManager;
|
|
57
61
|
stopServer: typeof stopServer;
|
|
58
62
|
restartServer: typeof restartServer;
|
package/dist/index.js
CHANGED
|
@@ -55,7 +55,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
55
55
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
56
56
|
};
|
|
57
57
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58
|
-
exports.MarketList = exports.ServerManager = exports.Baozi = exports.Probable = exports.Myriad = exports.Limitless = exports.KalshiDemo = exports.Kalshi = exports.Polymarket = exports.Exchange = void 0;
|
|
58
|
+
exports.MarketList = exports.ServerManager = exports.PolymarketUS = exports.Smarkets = exports.Metaculus = exports.Opinion = exports.Baozi = exports.Probable = exports.Myriad = exports.Limitless = exports.KalshiDemo = exports.Kalshi = exports.Polymarket = exports.Exchange = void 0;
|
|
59
59
|
const client_js_1 = require("./pmxt/client.js");
|
|
60
60
|
const server_manager_js_1 = require("./pmxt/server-manager.js");
|
|
61
61
|
const models = __importStar(require("./pmxt/models.js"));
|
|
@@ -69,6 +69,10 @@ Object.defineProperty(exports, "Limitless", { enumerable: true, get: function ()
|
|
|
69
69
|
Object.defineProperty(exports, "Myriad", { enumerable: true, get: function () { return client_js_2.Myriad; } });
|
|
70
70
|
Object.defineProperty(exports, "Probable", { enumerable: true, get: function () { return client_js_2.Probable; } });
|
|
71
71
|
Object.defineProperty(exports, "Baozi", { enumerable: true, get: function () { return client_js_2.Baozi; } });
|
|
72
|
+
Object.defineProperty(exports, "Opinion", { enumerable: true, get: function () { return client_js_2.Opinion; } });
|
|
73
|
+
Object.defineProperty(exports, "Metaculus", { enumerable: true, get: function () { return client_js_2.Metaculus; } });
|
|
74
|
+
Object.defineProperty(exports, "Smarkets", { enumerable: true, get: function () { return client_js_2.Smarkets; } });
|
|
75
|
+
Object.defineProperty(exports, "PolymarketUS", { enumerable: true, get: function () { return client_js_2.PolymarketUS; } });
|
|
72
76
|
var server_manager_js_2 = require("./pmxt/server-manager.js");
|
|
73
77
|
Object.defineProperty(exports, "ServerManager", { enumerable: true, get: function () { return server_manager_js_2.ServerManager; } });
|
|
74
78
|
var models_js_1 = require("./pmxt/models.js");
|
|
@@ -90,6 +94,10 @@ const pmxt = {
|
|
|
90
94
|
Myriad: client_js_1.Myriad,
|
|
91
95
|
Probable: client_js_1.Probable,
|
|
92
96
|
Baozi: client_js_1.Baozi,
|
|
97
|
+
Opinion: client_js_1.Opinion,
|
|
98
|
+
Metaculus: client_js_1.Metaculus,
|
|
99
|
+
Smarkets: client_js_1.Smarkets,
|
|
100
|
+
PolymarketUS: client_js_1.PolymarketUS,
|
|
93
101
|
ServerManager: server_manager_js_1.ServerManager,
|
|
94
102
|
stopServer,
|
|
95
103
|
restartServer,
|
package/dist/pmxt/client.d.ts
CHANGED
|
@@ -479,3 +479,65 @@ export declare class Probable extends Exchange {
|
|
|
479
479
|
export declare class Baozi extends Exchange {
|
|
480
480
|
constructor(options?: ExchangeOptions);
|
|
481
481
|
}
|
|
482
|
+
/**
|
|
483
|
+
* Opinion exchange client.
|
|
484
|
+
*
|
|
485
|
+
* Polygon-based CLOB exchange. Public catalog endpoints work without
|
|
486
|
+
* credentials; trading requires `apiKey` (proxy address) and `privateKey`.
|
|
487
|
+
*
|
|
488
|
+
* @example
|
|
489
|
+
* ```typescript
|
|
490
|
+
* const opinion = new Opinion();
|
|
491
|
+
* const events = await opinion.fetchEvents();
|
|
492
|
+
* ```
|
|
493
|
+
*/
|
|
494
|
+
export declare class Opinion extends Exchange {
|
|
495
|
+
constructor(options?: ExchangeOptions);
|
|
496
|
+
}
|
|
497
|
+
/**
|
|
498
|
+
* Metaculus exchange client.
|
|
499
|
+
*
|
|
500
|
+
* Forecasting platform. Public read-only access works without credentials;
|
|
501
|
+
* authenticated calls accept a bearer token via `apiKey`.
|
|
502
|
+
*
|
|
503
|
+
* @example
|
|
504
|
+
* ```typescript
|
|
505
|
+
* const metaculus = new Metaculus();
|
|
506
|
+
* const events = await metaculus.fetchEvents();
|
|
507
|
+
* ```
|
|
508
|
+
*/
|
|
509
|
+
export declare class Metaculus extends Exchange {
|
|
510
|
+
constructor(options?: ExchangeOptions);
|
|
511
|
+
}
|
|
512
|
+
/**
|
|
513
|
+
* Smarkets exchange client.
|
|
514
|
+
*
|
|
515
|
+
* UK-based betting exchange. Public catalog endpoints work without
|
|
516
|
+
* credentials; trading requires Smarkets account email (`apiKey`) and
|
|
517
|
+
* password (`privateKey`).
|
|
518
|
+
*
|
|
519
|
+
* @example
|
|
520
|
+
* ```typescript
|
|
521
|
+
* const smarkets = new Smarkets();
|
|
522
|
+
* const events = await smarkets.fetchEvents();
|
|
523
|
+
* ```
|
|
524
|
+
*/
|
|
525
|
+
export declare class Smarkets extends Exchange {
|
|
526
|
+
constructor(options?: ExchangeOptions);
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
* Polymarket US exchange client.
|
|
530
|
+
*
|
|
531
|
+
* US-regulated Polymarket venue. Public catalog endpoints work without
|
|
532
|
+
* credentials; trading requires `apiKey` (keyId) and `privateKey`
|
|
533
|
+
* (secretKey) issued by Polymarket US.
|
|
534
|
+
*
|
|
535
|
+
* @example
|
|
536
|
+
* ```typescript
|
|
537
|
+
* const polyUs = new PolymarketUS();
|
|
538
|
+
* const events = await polyUs.fetchEvents();
|
|
539
|
+
* ```
|
|
540
|
+
*/
|
|
541
|
+
export declare class PolymarketUS extends Exchange {
|
|
542
|
+
constructor(options?: ExchangeOptions);
|
|
543
|
+
}
|
package/dist/pmxt/client.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* OpenAPI client, matching the Python API exactly.
|
|
7
7
|
*/
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.Baozi = exports.Probable = exports.Myriad = exports.KalshiDemo = exports.Limitless = exports.Kalshi = exports.Polymarket = exports.Exchange = void 0;
|
|
9
|
+
exports.PolymarketUS = exports.Smarkets = exports.Metaculus = exports.Opinion = exports.Baozi = exports.Probable = exports.Myriad = exports.KalshiDemo = exports.Limitless = exports.Kalshi = exports.Polymarket = exports.Exchange = void 0;
|
|
10
10
|
const index_js_1 = require("../generated/src/index.js");
|
|
11
11
|
const models_js_1 = require("./models.js");
|
|
12
12
|
const server_manager_js_1 = require("./server-manager.js");
|
|
@@ -1630,3 +1630,77 @@ class Baozi extends Exchange {
|
|
|
1630
1630
|
}
|
|
1631
1631
|
}
|
|
1632
1632
|
exports.Baozi = Baozi;
|
|
1633
|
+
/**
|
|
1634
|
+
* Opinion exchange client.
|
|
1635
|
+
*
|
|
1636
|
+
* Polygon-based CLOB exchange. Public catalog endpoints work without
|
|
1637
|
+
* credentials; trading requires `apiKey` (proxy address) and `privateKey`.
|
|
1638
|
+
*
|
|
1639
|
+
* @example
|
|
1640
|
+
* ```typescript
|
|
1641
|
+
* const opinion = new Opinion();
|
|
1642
|
+
* const events = await opinion.fetchEvents();
|
|
1643
|
+
* ```
|
|
1644
|
+
*/
|
|
1645
|
+
class Opinion extends Exchange {
|
|
1646
|
+
constructor(options = {}) {
|
|
1647
|
+
super("opinion", options);
|
|
1648
|
+
}
|
|
1649
|
+
}
|
|
1650
|
+
exports.Opinion = Opinion;
|
|
1651
|
+
/**
|
|
1652
|
+
* Metaculus exchange client.
|
|
1653
|
+
*
|
|
1654
|
+
* Forecasting platform. Public read-only access works without credentials;
|
|
1655
|
+
* authenticated calls accept a bearer token via `apiKey`.
|
|
1656
|
+
*
|
|
1657
|
+
* @example
|
|
1658
|
+
* ```typescript
|
|
1659
|
+
* const metaculus = new Metaculus();
|
|
1660
|
+
* const events = await metaculus.fetchEvents();
|
|
1661
|
+
* ```
|
|
1662
|
+
*/
|
|
1663
|
+
class Metaculus extends Exchange {
|
|
1664
|
+
constructor(options = {}) {
|
|
1665
|
+
super("metaculus", options);
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
exports.Metaculus = Metaculus;
|
|
1669
|
+
/**
|
|
1670
|
+
* Smarkets exchange client.
|
|
1671
|
+
*
|
|
1672
|
+
* UK-based betting exchange. Public catalog endpoints work without
|
|
1673
|
+
* credentials; trading requires Smarkets account email (`apiKey`) and
|
|
1674
|
+
* password (`privateKey`).
|
|
1675
|
+
*
|
|
1676
|
+
* @example
|
|
1677
|
+
* ```typescript
|
|
1678
|
+
* const smarkets = new Smarkets();
|
|
1679
|
+
* const events = await smarkets.fetchEvents();
|
|
1680
|
+
* ```
|
|
1681
|
+
*/
|
|
1682
|
+
class Smarkets extends Exchange {
|
|
1683
|
+
constructor(options = {}) {
|
|
1684
|
+
super("smarkets", options);
|
|
1685
|
+
}
|
|
1686
|
+
}
|
|
1687
|
+
exports.Smarkets = Smarkets;
|
|
1688
|
+
/**
|
|
1689
|
+
* Polymarket US exchange client.
|
|
1690
|
+
*
|
|
1691
|
+
* US-regulated Polymarket venue. Public catalog endpoints work without
|
|
1692
|
+
* credentials; trading requires `apiKey` (keyId) and `privateKey`
|
|
1693
|
+
* (secretKey) issued by Polymarket US.
|
|
1694
|
+
*
|
|
1695
|
+
* @example
|
|
1696
|
+
* ```typescript
|
|
1697
|
+
* const polyUs = new PolymarketUS();
|
|
1698
|
+
* const events = await polyUs.fetchEvents();
|
|
1699
|
+
* ```
|
|
1700
|
+
*/
|
|
1701
|
+
class PolymarketUS extends Exchange {
|
|
1702
|
+
constructor(options = {}) {
|
|
1703
|
+
super("polymarket_us", options);
|
|
1704
|
+
}
|
|
1705
|
+
}
|
|
1706
|
+
exports.PolymarketUS = PolymarketUS;
|