First Step.
Install Visual studio and make c# winform project.
(do you want to know even these? to be continued on other series :)
and open the window for new package. (sorry. below example is korean.)
like this image. "CCXTSharp"
//and include CCXTSharp library.
using CCXTSharp;
//call thread function(you made)
//like this
MainThread = new Thread(ThreadFunc);
MainThread.Start();
//so in thread fucntion, call a ccxt api and receive binance' market information or other exchanges's one.
private void ThreadFunc()
{
Dictionary<string, Ticker> AllTicker = GetFetchTickers("binance").GetAwaiter().GetResult();
}
public async Task<Dictionary<string, Ticker> > GetFetchTickers(string Exchange)
{
CcxtAPI ccxtAPI = new CcxtAPI(@"....\ccxt\ccxtAPI.exe");
Dictionary<string, Ticker> AllTicker = await ccxtAPI.FetchTickers(Exchange);
await ccxtAPI.Close();
return AllTicker;
}
and. make GUI Controls !
I made Functions to compare two exchanges. and filtered for One-to-one comparison.
and then sorted for trading using the price difference between exchanges
I will add new functions for perfect trading system.
see you!
- If you want the full source code, ask this post.
it is very kind.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit