์ฃผ๋ง๋์ ์ฝ์ธ๋ค์ด ๊ธ๋ฑ์ธ๋ฅผ ๋ณด์๋ค.
#5 (https://steemit.com/kr/@cowin/api-c-5) ๊ธ์ ์์ค๋๋ก๋ผ๋ฉด
8์6์ผ 09:18๋ถ์ ETC ๋งค์๋ฐ์.
๋ญ๊ฐ ๋ฆ์ด๋ ํ์ฐธ ๋ฆ๋ค...
์์ค ๋ง๋ค๋๋ง ํด๋, ๋นก!! ์น๊ณ ์ค๋ฅด๋ ์๊ฐ์ด ๋น์ทํ๋๋ฉด์ ๋ฐํด
์ด๋ฒ ์ฃผ๋ง์ค๋ฆ์ธ๋ BTC, LTC, XRP๊ฐ ๊ธ๋ฑ, ETC, ETH, DASH๊ฐ ์๋งํ ์์น์ ์ด๋ฃฌ ๋ชจ์ต์ด๋ค.
์ฌ์ง์ด 60๋ถ๋ด๋ณ ์์น ์์์ ๋ ๋ค๋ฅด๋ ...
์์ค๋ฅผ ๋ฐ๊ฟ๋ณด์๋ค.
7์ข
๋ชฉ์ค... (์ต๊ทผ BCH ์ถ๊ฐ)
1~3์กฐ๊ฑด ๋ง์กฑํ ์ข
๋ชฉ ์ค, ์ด๊ฒฉ๋๊ฐ ๊ฐ์ฅ ์์ ์ข
๋ชฉ์ ๋ค๋ ์๋์๋ณด๊ณ ๋งค์!!
๋ ์์ง๋ ์ํ๊ณ ใ
กใ
ก; ๋ก๊ทธ๋ง... ใ
ใ
์ง๊ธ์ ํธ๊ฐ์ฐฝ/์ฃผ๋ฌธ๊ธฐ๋ฅ์ ๊ฐ๋ฐ์ค์ด๋, ๋๋ ค๋ณด๊ณ ๋ก๊ทธ๋ง ์ถํ์ ์ดํด๋ณด์....
๊ถ๊ธํดํ์๋ ๋ถ๋ค์ ์ํด ์๋ ๋ก์ง์ ์ฒจ๋ถํฉ๋๋ค~
์ด๊ฒ๋ ๋ค์ ํฌ์คํ ๋ ์๊ทธ๋ ๊ฒฐ๊ณผ ๊ณต๊ฐํ ๊ป์~ ^^
private string IsGlobalBuySignal()
{
Dictionary<string, double> maxDisDic = new Dictionary<string, double>();
foreach (string currency in StaticData.usingCurrencyList)
{
double rate;
bool skip_conditon = false;
for (int i = 1; i <= 10; i++)
{
rate = logicDic[currency].GetRate(SERIES_TYPE.MIN_60, i);
if (rate < -1)
{
skip_conditon = true;
break;
}
}
if (skip_conditon)
continue;
double disparity = logicDic[currency].GetDisparity(SERIES_TYPE.MIN_60, 30, 0);
if (101 < disparity)
{
maxDisDic[currency] = disparity;
CowinLogger.makeLog(CowinLogger.LogLevel.DBG, GetType().Name, MethodBase.GetCurrentMethod().Name,
currency, string.Format("disparity : {0:0}", disparity));
}
}
if (maxDisDic.Count < 3)
return null;
foreach (KeyValuePair<string, double> dicPair in maxDisDic)
{
CowinLogger.makeLog(CowinLogger.LogLevel.DBG, GetType().Name, MethodBase.GetCurrentMethod().Name,
"์๊ทธ๋๋ก๊ทธ", string.Format("{0} value:{1:0.00}", dicPair.Key, dicPair.Value));
}
return maxDisDic.FirstOrDefault(x => x.Value == maxDisDic.Values.Min()).Key;
}
#ํ์ฌ๊น์ง ์๋ฃ๋ ์คํํ์ผ : http://bitcoin.cowincomfunny.com/
API์ ํ์ด ์์ผ๋(Private๋ ์ด๋น10ํ) ํ๋ก์ธ์ค๋ฅผ ์ฌ๋ฌ๊ฐ ์คํํ๋ฉด ์๋ฉ๋๋ค