Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gridtrader/connect_futures.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"key": "",
"secret": "",
"key": "qBFimviRucbMNt9bcPKWBIrhrAqJpcGlPjDMkiIFj04GzhT0YNsLq9A1XU9IFC2Y",
"secret": "UvkbgNauNOGMwYxnGbz81hFYbhGaEdNdFfirwLUIE72McPhc4eJOkSelS65Stbpu",
"futures_type": "USDT",
"proxy_host": "",
"proxy_port": 0
Expand Down
333 changes: 333 additions & 0 deletions gridtrader/grid_strategy_data.json
Original file line number Diff line number Diff line change
@@ -1,2 +1,335 @@
{
"BTC": {
"pos": 0.027000000000000003,
"avg_price": 103608.8148148148,
"step_price": 451.6,
"trade_times": 11,
"price_volume_dict": {
"96000.0": 0.01,
"96451.6": 0.01,
"96903.1": 0.01,
"97354.8": 0.01,
"97806.3": 0.01,
"98258.0": 0.01,
"98709.6": 0.01,
"99161.1": 0.01,
"99612.8": 0.01,
"100064.3": 0.01,
"100516.0": 0.01,
"100967.6": 0.01,
"101419.1": 0.009,
"101870.8": 0.009,
"102322.3": 0.009,
"102774.0": 0.008,
"103225.6": 0.008,
"103677.1": 0.008,
"104128.8": 0.008,
"104580.3": 0.008,
"105032.0": 0.008,
"105483.6": 0.008,
"105935.1": 0.008,
"106386.8": 0.008,
"106838.3": 0.008,
"107290.0": 0.008,
"107741.6": 0.008,
"108193.1": 0.008,
"108644.8": 0.008,
"109096.3": 0.008,
"109548.0": 0.008
},
"start_price_triggered": true,
"lower_grid_total_volume": 0.15318422750216226,
"upper_grid_total_volume": 0.13874767719868758
},
"AVAAI": {
"pos": 1299.0,
"avg_price": 0.04939,
"step_price": 0.0007,
"trade_times": 11,
"price_volume_dict": {
"0.048": 1474.0,
"0.0487": 1453.0,
"0.04939": 1432.0,
"0.05009": 1412.0,
"0.05079": 1393.0,
"0.0515": 1374.0,
"0.0522": 1356.0,
"0.0529": 1338.0,
"0.0536": 1320.0,
"0.0543": 1303.0,
"0.055": 1287.0,
"0.05569": 1270.0,
"0.05639": 1255.0,
"0.05709": 1239.0,
"0.0578": 1224.0,
"0.0585": 1210.0,
"0.0592": 1195.0,
"0.0599": 1181.0,
"0.0606": 1168.0,
"0.0613": 1154.0,
"0.06199": 1141.0,
"0.0627": 1128.0,
"0.06339": 1116.0,
"0.0641": 1104.0,
"0.06479": 1092.0,
"0.0655": 1080.0,
"0.0662": 1069.0,
"0.0669": 1058.0,
"0.06759": 1047.0,
"0.06829": 1036.0,
"0.069": 1025.0,
"0.06969": 1015.0,
"0.0704": 1005.0,
"0.07109": 995.0,
"0.0718": 985.0,
"0.0725": 976.0,
"0.0732": 967.0,
"0.07389": 870.0,
"0.07459": 862.0,
"0.0753": 854.0,
"0.07599": 846.0,
"0.0767": 838.0,
"0.07739": 831.0,
"0.0781": 823.0,
"0.0788": 816.0,
"0.0795": 809.0,
"0.08019": 802.0,
"0.08089": 795.0,
"0.0816": 788.0,
"0.08229": 781.0,
"0.08299": 775.0,
"0.08369": 768.0,
"0.0844": 762.0,
"0.0851": 756.0,
"0.0858": 750.0,
"0.08649": 743.0,
"0.08719": 737.0,
"0.0879": 732.0,
"0.08859": 726.0,
"0.08929": 720.0,
"0.08999": 715.0,
"0.0907": 709.0,
"0.0914": 704.0,
"0.0921": 698.0,
"0.09279": 693.0,
"0.09349": 688.0,
"0.0942": 683.0,
"0.09489": 678.0,
"0.09559": 673.0,
"0.09629": 668.0,
"0.097": 663.0,
"0.0977": 658.0,
"0.0984": 653.0,
"0.09909": 649.0
},
"start_price_triggered": true,
"lower_grid_total_volume": 43894.590849018256,
"upper_grid_total_volume": 27733.76065942861
},
"PENGU": {
"pos": 32159.0,
"avg_price": 0.01813325168693056,
"step_price": 0.0001964285714285714,
"trade_times": 7,
"price_volume_dict": {
"0.017": 13205.0,
"0.017196": 13054.0,
"0.017392": 12907.0,
"0.017589": 12762.0,
"0.017785": 12621.0,
"0.017982": 12484.0,
"0.018178": 12349.0,
"0.018375": 12217.0,
"0.018571": 12087.0,
"0.018767": 11961.0,
"0.018964": 11837.0,
"0.01916": 11716.0,
"0.019357": 11597.0,
"0.019553": 11480.0,
"0.01975": 11366.0,
"0.019946": 11254.0,
"0.020142": 11144.0,
"0.020339": 11037.0,
"0.020535": 10931.0,
"0.020732": 10828.0,
"0.020928": 10726.0,
"0.021125": 10626.0,
"0.021321": 10528.0,
"0.021517": 10432.0,
"0.021714": 10338.0,
"0.02191": 10245.0,
"0.022107": 10154.0,
"0.022303": 10065.0,
"0.022499": 9070.0,
"0.022696": 8991.0,
"0.022892": 8914.0,
"0.023089": 8838.0,
"0.023285": 8764.0,
"0.023482": 8690.0,
"0.023678": 8618.0,
"0.023875": 8547.0,
"0.024071": 8478.0,
"0.024267": 8409.0,
"0.024464": 8342.0,
"0.02466": 8275.0,
"0.024857": 8210.0,
"0.025053": 8145.0,
"0.02525": 8082.0,
"0.025446": 8020.0,
"0.025642": 7958.0,
"0.025839": 7898.0,
"0.026035": 7838.0,
"0.026232": 7779.0,
"0.026428": 7722.0,
"0.026625": 7665.0,
"0.026821": 7608.0,
"0.027017": 7553.0,
"0.027214": 7499.0,
"0.02741": 7445.0,
"0.027607": 7392.0,
"0.027803": 7340.0
},
"start_price_triggered": true,
"lower_grid_total_volume": 321964.5383785239,
"upper_grid_total_volume": 228102.72970017433
},
"FARTCOIN": {
"pos": 0,
"avg_price": 0.0,
"step_price": 0.010655737704918034,
"trade_times": 0,
"price_volume_dict": {
"0.8499": 50.4,
"0.8606": 49.8,
"0.8713": 49.2,
"0.8819": 48.6,
"0.8926": 48.0,
"0.9032": 47.4,
"0.9139": 46.9,
"0.9245": 46.4,
"0.9352": 45.8,
"0.9459": 45.3,
"0.9565": 44.8,
"0.9672": 44.3,
"0.9778": 43.8,
"0.9885": 43.3,
"0.9991": 42.9,
"1.0098": 42.4,
"1.0204": 42.0,
"1.0311": 41.6,
"1.0418": 41.1,
"1.0524": 40.7,
"1.0631": 40.3,
"1.0737": 39.9,
"1.0844": 39.5,
"1.095": 39.1,
"1.1057": 38.7,
"1.1163": 38.4,
"1.127": 38.0,
"1.1377": 37.7,
"1.1483": 37.3,
"1.159": 37.0,
"1.1696": 33.3,
"1.1803": 33.0,
"1.1909": 32.7,
"1.2016": 32.4,
"1.2122": 32.1,
"1.2229": 31.8,
"1.2336": 31.6,
"1.2442": 31.3,
"1.2549": 31.0,
"1.2655": 30.8,
"1.2762": 30.5,
"1.2868": 30.3,
"1.2975": 30.0,
"1.3081": 29.8,
"1.3188": 29.5,
"1.3295": 29.3,
"1.3401": 29.1,
"1.3508": 28.8,
"1.3614": 28.6,
"1.3721": 28.4,
"1.3827": 28.2,
"1.3934": 27.9,
"1.404": 27.7,
"1.4147": 27.5,
"1.4254": 27.3,
"1.436": 27.1,
"1.4467": 26.9,
"1.4573": 26.7,
"1.468": 26.5,
"1.4786": 26.3,
"1.4893": 26.1
},
"start_price_triggered": true,
"lower_grid_total_volume": 1292.2433322080694,
"upper_grid_total_volume": 914.1121837060554
},
"AI16Z": {
"pos": 0,
"avg_price": 0.0,
"step_price": 0.0,
"trade_times": 0,
"price_volume_dict": {},
"start_price_triggered": false,
"lower_grid_total_volume": 0.0,
"upper_grid_total_volume": 0.0
},
"RUNE": {
"pos": -248.0,
"avg_price": 1.4024347826086956,
"step_price": 0.014,
"trade_times": 4,
"price_volume_dict": {
"1.35": 84.0,
"1.364": 83.0,
"1.378": 82.0,
"1.392": 81.0,
"1.406": 80.0,
"1.42": 80.0,
"1.434": 79.0,
"1.448": 78.0,
"1.462": 77.0,
"1.475": 77.0,
"1.49": 76.0,
"1.504": 75.0,
"1.518": 75.0,
"1.532": 74.0,
"1.546": 73.0,
"1.56": 72.0,
"1.574": 72.0,
"1.588": 71.0,
"1.602": 71.0,
"1.616": 70.0,
"1.63": 69.0,
"1.644": 69.0,
"1.658": 68.0,
"1.672": 61.0,
"1.686": 61.0,
"1.7": 60.0,
"1.713": 60.0,
"1.728": 59.0,
"1.741": 59.0,
"1.756": 58.0,
"1.77": 58.0,
"1.784": 58.0,
"1.798": 57.0,
"1.812": 57.0,
"1.826": 56.0,
"1.84": 56.0,
"1.854": 55.0,
"1.868": 55.0,
"1.882": 55.0,
"1.896": 54.0,
"1.91": 54.0,
"1.924": 53.0,
"1.938": 53.0,
"1.951": 53.0,
"1.966": 52.0,
"1.979": 52.0
},
"start_price_triggered": true,
"lower_grid_total_volume": 1748.072954517176,
"upper_grid_total_volume": 1307.3052553704113
}
}
Loading