diff --git a/sdk_13/study_repo/tv/scripting/651/jar b/sdk_13/study_repo/tv/scripting/651/jar new file mode 100644 index 000000000..567ada23e Binary files /dev/null and b/sdk_13/study_repo/tv/scripting/651/jar differ diff --git a/sdk_13/study_repo/tv/scripting/651/metainfo_json b/sdk_13/study_repo/tv/scripting/651/metainfo_json new file mode 100644 index 000000000..c076b0d99 --- /dev/null +++ b/sdk_13/study_repo/tv/scripting/651/metainfo_json @@ -0,0 +1,505 @@ +[ + { + "_metainfoVersion" : 51, + "defaults" : { + "inputs" : { + "logToken" : "", + "pineId" : "", + "pineVersion" : "", + "text" : "", + "userProPlan" : "" + } + }, + "description" : "Unnamed Study", + "format" : { + "type" : "inherit" + }, + "id" : "ESD@tv-scripting-651", + "inputs" : [ + { + "defval" : "", + "id" : "text", + "name" : "Text", + "type" : "text" + }, + { + "defval" : "", + "id" : "pineId", + "name" : "PineId", + "type" : "text" + }, + { + "defval" : "", + "id" : "pineVersion", + "name" : "PineVersion", + "type" : "text" + }, + { + "defval" : "", + "id" : "logToken", + "name" : "LogToken", + "type" : "text" + }, + { + "defval" : "", + "id" : "userProPlan", + "isHidden" : true, + "name" : "UserProPlan", + "type" : "usertype" + } + ], + "is_hidden_study" : true, + "is_price_study" : false, + "shortDescription" : "Unnamed Study" + }, + { + "_metainfoVersion" : 51, + "defaults" : { + "inputs" : { + "logToken" : "", + "pineId" : "", + "pineVersion" : "", + "text" : "", + "userProPlan" : "" + } + }, + "description" : "Unnamed Study", + "format" : { + "type" : "inherit" + }, + "id" : "Internal@tv-scripting-651", + "inputs" : [ + { + "defval" : "", + "id" : "text", + "name" : "Text", + "type" : "text" + }, + { + "defval" : "", + "id" : "pineId", + "name" : "PineId", + "type" : "text" + }, + { + "defval" : "", + "id" : "pineVersion", + "name" : "PineVersion", + "type" : "text" + }, + { + "defval" : "", + "id" : "logToken", + "name" : "LogToken", + "type" : "text" + }, + { + "defval" : "", + "id" : "userProPlan", + "isHidden" : true, + "name" : "UserProPlan", + "type" : "usertype" + } + ], + "is_hidden_study" : true, + "is_price_study" : false, + "shortDescription" : "Unnamed Study" + }, + { + "_metainfoVersion" : 51, + "defaults" : { + "inputs" : { + "cash_transactions" : "", + "cash_transactions_zip" : "", + "currency" : "USD", + "initial_capital" : 0.0, + "risk_free_rate" : 2.0, + "text" : "", + "transactions" : "", + "transactions_zip" : "" + }, + "styles" : { + "benchmark_performance" : { + "color" : "#1e88e5", + "linestyle" : 0, + "linewidth" : 1, + "plottype" : 0, + "trackPrice" : false, + "transparency" : 0, + "visible" : true + }, + "benchmark_value" : { + "color" : "#1e88e5", + "linestyle" : 0, + "linewidth" : 1, + "plottype" : 0, + "trackPrice" : false, + "transparency" : 0, + "visible" : true + }, + "portfolio_free_cash" : { + "color" : "#000000", + "linestyle" : 0, + "linewidth" : 1, + "plottype" : 0, + "trackPrice" : false, + "transparency" : 0, + "visible" : true + }, + "portfolio_performance" : { + "color" : "#1e88e5", + "linestyle" : 0, + "linewidth" : 1, + "plottype" : 0, + "trackPrice" : false, + "transparency" : 0, + "visible" : true + }, + "portfolio_value" : { + "color" : "#1e88e5", + "linestyle" : 0, + "linewidth" : 1, + "plottype" : 0, + "trackPrice" : false, + "transparency" : 0, + "visible" : true + } + } + }, + "description" : "Portfolio", + "format" : { + "type" : "inherit" + }, + "id" : "Portfolio@tv-scripting-651", + "inputs" : [ + { + "defval" : "USD", + "id" : "currency", + "name" : "Base Currency", + "options" : [ + "USD", + "EUR", + "AUD", + "GBP", + "NZD", + "CAD", + "CHF", + "HKD", + "JPY", + "NOK", + "RUB", + "SEK", + "SGD", + "TRY", + "ZAR", + "BTC", + "ETH", + "MYR", + "KRW", + "USDT", + "INR" + ], + "tooltip" : "Currency used in calculations and strategy results", + "type" : "text" + }, + { + "defval" : "", + "id" : "transactions", + "name" : "Transactions", + "type" : "text" + }, + { + "defval" : "", + "id" : "transactions_zip", + "name" : "Transactions_zip", + "type" : "text" + }, + { + "defval" : "", + "id" : "cash_transactions", + "name" : "Cash_transactions", + "type" : "text" + }, + { + "defval" : "", + "id" : "cash_transactions_zip", + "name" : "Cash_transactions_zip", + "type" : "text" + }, + { + "defval" : 0.0, + "id" : "initial_capital", + "max" : 1.7976931348623157E308, + "min" : -1.7976931348623157E308, + "name" : "Initial_capital", + "type" : "float" + }, + { + "defval" : 2.0, + "id" : "risk_free_rate", + "max" : 1.7976931348623157E308, + "min" : -1.7976931348623157E308, + "name" : "Risk_free_rate", + "type" : "float" + }, + { + "defval" : "", + "id" : "text", + "isHidden" : true, + "name" : "Text", + "type" : "text" + } + ], + "is_price_study" : false, + "plots" : [ + { + "id" : "portfolio_value", + "type" : "line" + }, + { + "id" : "portfolio_performance", + "type" : "line" + }, + { + "id" : "portfolio_free_cash", + "type" : "line" + }, + { + "id" : "benchmark_value", + "type" : "line" + }, + { + "id" : "benchmark_performance", + "type" : "line" + } + ], + "shortDescription" : "Unnamed Study", + "styles" : { + "benchmark_performance" : { + "histogramBase" : 0.0, + "title" : "Benchmark Performance" + }, + "benchmark_value" : { + "histogramBase" : 0.0, + "title" : "Benchmark Value" + }, + "portfolio_free_cash" : { + "histogramBase" : 0.0, + "title" : "Portfolio Free Cash" + }, + "portfolio_performance" : { + "histogramBase" : 0.0, + "title" : "Portfolio Performance" + }, + "portfolio_value" : { + "histogramBase" : 0.0, + "title" : "Portfolio Value" + } + } + }, + { + "_metainfoVersion" : 51, + "defaults" : { + "inputs" : { + "commission_type" : "percent", + "commission_value" : 0.0, + "currency" : "NONE", + "initial_capital" : 1000000.0, + "recoveryState" : "{}", + "text" : "" + } + }, + "description" : "Unnamed Study", + "format" : { + "type" : "inherit" + }, + "id" : "ReplayStrategy@tv-scripting-651", + "inputs" : [ + { + "defval" : 1000000.0, + "group" : "strategy_props", + "id" : "initial_capital", + "max" : 1.7976931348623157E308, + "min" : 0.0, + "name" : "Initial Capital", + "tooltip" : "The amount of funds initially available for the strategy to trade", + "type" : "float" + }, + { + "defval" : "NONE", + "group" : "strategy_props", + "id" : "currency", + "name" : "Base Currency", + "options" : [ + "NONE", + "USD", + "EUR", + "AUD", + "GBP", + "NZD", + "CAD", + "CHF", + "HKD", + "JPY", + "NOK", + "RUB", + "SEK", + "SGD", + "TRY", + "ZAR", + "BTC", + "ETH", + "MYR", + "KRW", + "USDT", + "INR" + ], + "tooltip" : "Currency used in calculations and strategy results", + "type" : "text" + }, + { + "defval" : "percent", + "group" : "strategy_props", + "id" : "commission_type", + "name" : "Commission Type", + "options" : [ + "percent", + "cash_per_contract", + "cash_per_order" + ], + "tooltip" : "Fees paid for each entry and exit", + "type" : "text" + }, + { + "defval" : 0.0, + "group" : "strategy_props", + "id" : "commission_value", + "max" : 1.7976931348623157E308, + "min" : 0.0, + "name" : "Commission Value", + "type" : "float" + }, + { + "defval" : "{}", + "id" : "recoveryState", + "name" : "RecoveryState", + "type" : "text" + }, + { + "defval" : "", + "id" : "text", + "name" : "Text", + "type" : "text" + } + ], + "is_hidden_study" : true, + "is_price_study" : true, + "shortDescription" : "Unnamed Study" + }, + { + "_metainfoVersion" : 51, + "defaults" : { + "inputs" : { + "logToken" : "", + "pineId" : "", + "pineVersion" : "", + "text" : "", + "userProPlan" : "" + } + }, + "description" : "Unnamed Study", + "format" : { + "type" : "inherit" + }, + "id" : "Script@tv-scripting-651", + "inputs" : [ + { + "defval" : "", + "id" : "text", + "name" : "Text", + "type" : "text" + }, + { + "defval" : "", + "id" : "pineId", + "name" : "PineId", + "type" : "text" + }, + { + "defval" : "", + "id" : "pineVersion", + "name" : "PineVersion", + "type" : "text" + }, + { + "defval" : "", + "id" : "logToken", + "name" : "LogToken", + "type" : "text" + }, + { + "defval" : "", + "id" : "userProPlan", + "isHidden" : true, + "name" : "UserProPlan", + "type" : "usertype" + } + ], + "is_hidden_study" : true, + "is_price_study" : false, + "shortDescription" : "Unnamed Study" + }, + { + "_metainfoVersion" : 51, + "defaults" : { + "inputs" : { + "logToken" : "", + "pineId" : "", + "pineVersion" : "", + "text" : "", + "userProPlan" : "" + } + }, + "description" : "Unnamed Study", + "format" : { + "type" : "inherit" + }, + "id" : "StrategyScript@tv-scripting-651", + "inputs" : [ + { + "defval" : "", + "id" : "text", + "name" : "Text", + "type" : "text" + }, + { + "defval" : "", + "id" : "pineId", + "name" : "PineId", + "type" : "text" + }, + { + "defval" : "", + "id" : "pineVersion", + "name" : "PineVersion", + "type" : "text" + }, + { + "defval" : "", + "id" : "logToken", + "name" : "LogToken", + "type" : "text" + }, + { + "defval" : "", + "id" : "userProPlan", + "isHidden" : true, + "name" : "UserProPlan", + "type" : "usertype" + } + ], + "is_hidden_study" : true, + "is_price_study" : false, + "shortDescription" : "Unnamed Study" + } +] \ No newline at end of file diff --git a/sdk_13/study_repo/tv/scripting/651/migration b/sdk_13/study_repo/tv/scripting/651/migration new file mode 100644 index 000000000..e6448c9d1 --- /dev/null +++ b/sdk_13/study_repo/tv/scripting/651/migration @@ -0,0 +1,17 @@ +{ + "pkgName" : "tv-scripting", + "studyMigrations" : [ + { + "rules" : [ + { + "action" : "removeVal", + "inputId" : "logToken", + "type" : "inputRemoved" + } + ], + "studyId" : "ReplayStrategy@tv-scripting" + } + ], + "versFrom" : "650", + "versTo" : "651" +} \ No newline at end of file diff --git a/sdk_13/study_repo/tv/scripting/651/migrations_all b/sdk_13/study_repo/tv/scripting/651/migrations_all new file mode 100644 index 000000000..1878df033 --- /dev/null +++ b/sdk_13/study_repo/tv/scripting/651/migrations_all @@ -0,0 +1,162 @@ +[ + { + "pkgName" : "tv-scripting", + "studyMigrations" : [ + { + "rules" : [ + { + "action" : "removeVal", + "inputId" : "pineId", + "type" : "inputRemoved" + } + ], + "studyId" : "Script@tv-scripting" + }, + { + "rules" : [ + { + "action" : "removeVal", + "inputId" : "pineId", + "type" : "inputRemoved" + } + ], + "studyId" : "ESD@tv-scripting" + }, + { + "rules" : [ + { + "action" : "removeVal", + "inputId" : "pineId", + "type" : "inputRemoved" + } + ], + "studyId" : "StrategyScript@tv-scripting" + } + ], + "versFrom" : "67", + "versTo" : "68" + }, + { + "pkgName" : "tv-scripting", + "studyMigrations" : [ + { + "rules" : [ + { + "action" : "removeVal", + "inputId" : "pineId", + "type" : "inputRemoved" + } + ], + "studyId" : "Script@tv-scripting" + }, + { + "rules" : [ + { + "action" : "removeVal", + "inputId" : "pineId", + "type" : "inputRemoved" + } + ], + "studyId" : "ESD@tv-scripting" + }, + { + "rules" : [ + { + "action" : "removeVal", + "inputId" : "pineId", + "type" : "inputRemoved" + } + ], + "studyId" : "StrategyScript@tv-scripting" + } + ], + "versFrom" : "70", + "versTo" : "71" + }, + { + "pkgName" : "tv-scripting", + "studyMigrations" : [ + { + "rules" : [ + { + "action" : "removeVal", + "inputId" : "logToken", + "type" : "inputRemoved" + } + ], + "studyId" : "ReplayStrategy@tv-scripting" + } + ], + "versFrom" : "647", + "versTo" : "648" + }, + { + "pkgName" : "tv-scripting", + "studyMigrations" : [ + { + "rules" : [ + { + "action" : "removeVal", + "inputId" : "currency", + "type" : "inputRemoved" + }, + { + "action" : "removeVal", + "inputId" : "transactions", + "type" : "inputRemoved" + }, + { + "action" : "removeVal", + "inputId" : "transactions_zip", + "type" : "inputRemoved" + }, + { + "action" : "removeVal", + "inputId" : "cash_transactions", + "type" : "inputRemoved" + }, + { + "action" : "removeVal", + "inputId" : "cash_transactions_zip", + "type" : "inputRemoved" + }, + { + "action" : "removeVal", + "inputId" : "initial_capital", + "type" : "inputRemoved" + }, + { + "action" : "removeVal", + "inputId" : "risk_free_rate", + "type" : "inputRemoved" + }, + { + "action" : "removeVal", + "inputId" : "text", + "type" : "inputRemoved" + } + ], + "studyId" : "Portfolio@tv-scripting" + } + ], + "versFrom" : "648", + "versTo" : "649" + }, + { + "pkgName" : "tv-scripting", + "studyMigrations" : [ + { + "rules" : [ + { + "action" : "removeVal", + "inputId" : "logToken", + "type" : "inputRemoved" + } + ], + "studyId" : "ReplayStrategy@tv-scripting" + } + ], + "versFrom" : "650", + "versTo" : "651" + } +] \ No newline at end of file diff --git a/sdk_13/study_repo/tv/scripting/HEAD b/sdk_13/study_repo/tv/scripting/HEAD index 4aeea8c34..f874bfc9f 100755 --- a/sdk_13/study_repo/tv/scripting/HEAD +++ b/sdk_13/study_repo/tv/scripting/HEAD @@ -1 +1 @@ -650 \ No newline at end of file +651 \ No newline at end of file